mirror of
https://github.com/outbackdingo/Mailu.git
synced 2026-01-27 18:19:36 +00:00
Don't duplicate hidden fields
This commit is contained in:
@@ -60,9 +60,7 @@
|
||||
<form class="form" method="post" role="form">
|
||||
{{ form.hidden_tag() }}
|
||||
{%- for field in form %}
|
||||
{%- if bootstrap_is_hidden_field(field) %}
|
||||
{{ field() }}
|
||||
{%- else %}
|
||||
{%- if not bootstrap_is_hidden_field(field) %}
|
||||
{{ form_field(field) }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
|
||||
Reference in New Issue
Block a user