{% import 'macros/form.html' as form %} {{ form.checkbox( 'responsive', id='field-responsive', label=_('List view/Responsive display'), value='True', checked=data.responsive, ) }} {% call form.input( 'ellipsis_length', id='field-ellipsis_length', label=_('Ellipsis length'), value=data.ellipsis_length, is_required='True') %} {{ form.info( _('Length at which data will be truncated with an ellipsis for display. Set to zero for no truncation, and for data to be wrapped at column name width instead.', classes=['info-help-tight'])) }} {% endcall %} {% call form.input( 'date_format', id='field-date_format', label=_('Date format'), value=data.date_format) %} {{ form.info( _('Moment.js date format to use for displaying dates (see Moment.js cheatsheet). If NONE, the raw timestamp value will be shown.', classes=['info-help-tight'])) }} {% endcall %}
{% for f in h.datastore_dictionary(resource.id) %} {% endfor %}
{{ _('Column') }} {{ _('Label') }}
{%- block dict_field_label scoped -%} {{ f.get('info', {}).label }} {%- endblock -%}