Commit 7504bd00 authored by Ad Schellevis's avatar Ad Schellevis

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

parent 4c087a28
...@@ -101,6 +101,16 @@ data_title : data-title to set on form ...@@ -101,6 +101,16 @@ 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