mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-15 21:23:28 +02:00
Added missing data-grav-field=select to global attributes on pagemediaselect field template
This commit is contained in:
@@ -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 %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user