Skip to content

Conversation

@chives
Copy link
Member

@chives chives commented Jan 22, 2014

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha this should not be here ;P getHtml() was left here by accident

@chives
Copy link
Member Author

chives commented Jan 22, 2014

@fsi-open review please

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without inversed conditional:

{% if cell.value is empty %}
      {{ 'crud.list.datagrid.editable.empty'|trans({}, 'FSiAdminBundle') }}
{% else %}
      {{ cell.value|raw }}
{% endif %}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it ;)

@chives
Copy link
Member Author

chives commented Jan 22, 2014

@fsi-open

norberttech added a commit that referenced this pull request Jan 22, 2014
Added edit value for editable columns when value is empty (closes #80)
@norberttech norberttech merged commit 36b5b6e into fsi-open:master Jan 22, 2014
@norberttech
Copy link
Contributor

Cheers! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants