(mvc) volt templates scope issues, closes https://github.com/opnsense/core/issues/1500

This commit is contained in:
Ad Schellevis 2017-03-23 20:39:14 +01:00
parent 4c087a2874
commit 7504bd00a2

View File

@ -101,6 +101,16 @@ data_title : data-title to set on form
{% else %}
{{ partial("layout_partials/form_input_tr",field)}}
{% 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 %}
{% if apply_btn_id|default('') != '' %}
<tr>