Added missing data-grav-field=select to global attributes on pagemediaselect field template

This commit is contained in:
Aymeric SIMON
2015-12-30 17:35:10 +01:00
parent cae876903e
commit f3e5797271

View File

@@ -8,6 +8,7 @@
{% block global_attributes %}
data-grav-selectize="{{ (field.selectize is defined ? field.selectize : {})|json_encode()|e('html_attr') }}"
data-grav-field="select"
{{ parent() }}
{% endblock %}
@@ -37,5 +38,3 @@
{% if admin.page.media.all is empty %}Add files through the page media, or by dropping them in the page folder{% endif %}
{% endif %}
{% endblock %}