forked from Github-Mirrors/canaille
Minor fomantic macro improvement
This commit is contained in:
parent
0b668f50ef
commit
85dde6ba79
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@
|
|||
container=true) -%}
|
||||
|
||||
{% if container %}
|
||||
<div class="field {{ kwargs.pop('class_', '') }} {% if field.errors %} error{% endif %}">
|
||||
<div class="field {{ kwargs.pop('class_', '') }}
|
||||
{%- if field.errors %} error{% endif -%}
|
||||
{%- if field.render_kw and "disabled" in field.render_kw %} disabled{% endif -%}">
|
||||
{% endif %}
|
||||
|
||||
{% if (field.type != 'HiddenField' and field.type !='CSRFTokenField') and label_visible %}
|
||||
|
|
Loading…
Reference in a new issue