Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
867a9a95
Commit
867a9a95
authored
Mar 25, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mvc: first scoping fix was before for, that obviously didn't work; closes #1245
parent
465cd35a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
19 deletions
+9
-19
base_dialog.volt
src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
+1
-1
base_form.volt
src/opnsense/mvc/app/views/layout_partials/base_form.volt
+8
-18
No files found.
src/opnsense/mvc/app/views/layout_partials/base_dialog.volt
View file @
867a9a95
...
@@ -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 %}
...
...
src/opnsense/mvc/app/views/layout_partials/base_form.volt
View file @
867a9a95
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment