Commit 867a9a95 authored by Franco Fichtner's avatar Franco Fichtner

mvc: first scoping fix was before for, that obviously didn't work; closes #1245

parent 465cd35a
...@@ -82,9 +82,9 @@ label : dialog label ...@@ -82,9 +82,9 @@ label : dialog label
</tr> </tr>
{% endif %} {% endif %}
{% for field in base_dialog_fields|default({})%} {% for field in base_dialog_fields|default({})%}
{# looks a bit buggy in the volt templates, field parameters won't reset properly here #}
{% set advanced=false %} {% set advanced=false %}
{% set help=false %} {% set help=false %}
{% set style=false %}
{% set hint=false %} {% set hint=false %}
{% set style=false %} {% set style=false %}
{% set maxheight=false %} {% set maxheight=false %}
......
...@@ -66,15 +66,15 @@ data_title : data-title to set on form ...@@ -66,15 +66,15 @@ data_title : data-title to set on form
{% if help|default(false) %}<small>{{ lang._('full help') }} </small><a href="#"><i class="fa fa-toggle-off text-danger" id="show_all_help_{{base_form_id}}" type="button"></i></a>{% endif %} {% if help|default(false) %}<small>{{ lang._('full help') }} </small><a href="#"><i class="fa fa-toggle-off text-danger" id="show_all_help_{{base_form_id}}" type="button"></i></a>{% endif %}
</td> </td>
</tr> </tr>
{% for field in fields|default({})%}
{# looks a bit buggy in the volt templates, field parameters won't reset properly here #}
{% set advanced=false %} {% set advanced=false %}
{% set help=false %} {% set help=false %}
{% set style=false %}
{% set hint=false %} {% set hint=false %}
{% set style=false %} {% set style=false %}
{% set maxheight=false %} {% set maxheight=false %}
{% set width=false %} {% set width=false %}
{% set allownew=false %} {% set allownew=false %}
{% for field in fields|default({})%}
{% if field['type'] == 'header' %} {% if field['type'] == 'header' %}
{# close table and start new one with header #} {# close table and start new one with header #}
...@@ -100,16 +100,6 @@ data_title : data-title to set on form ...@@ -100,16 +100,6 @@ data_title : data-title to set on form
{% else %} {% else %}
{{ partial("layout_partials/form_input_tr",field)}} {{ partial("layout_partials/form_input_tr",field)}}
{% endif %} {% endif %}
{# looks a bit buggy in the volt templates, field parameters won't reset properly here #}
{% set advanced=false %}
{% set help=false %}
{% set style=false %}
{% set hint=false %}
{% set style=false %}
{% set maxheight=false %}
{% set width=false %}
{% set allownew=false %}
{% endfor %} {% endfor %}
{% if apply_btn_id|default('') != '' %} {% if apply_btn_id|default('') != '' %}
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment