reformat edit forms (#1192)

This commit is contained in:
Kevin Papst
2019-10-30 13:59:53 +01:00
committed by GitHub
parent ed1154af67
commit bda9584346
8 changed files with 279 additions and 8 deletions

View File

@@ -32,3 +32,16 @@
{{ block('form_widget_simple') }}
{%- endif -%}
{%- endblock datetime_widget %}
{% block text_widget -%}
{% if icon is not empty %}
<div class="input-group">
<div class="input-group-addon">
<i class="{{ icon|icon }}"></i>
</div>
{{ block('form_widget_simple') }}
</div>
{% else %}
{{ block('form_widget_simple') }}
{% endif %}
{%- endblock text_widget %}