diff --git a/sysutils/nut/src/opnsense/mvc/app/views/OPNsense/Nut/index.volt b/sysutils/nut/src/opnsense/mvc/app/views/OPNsense/Nut/index.volt index ce33ec2c3..e8fdcd68f 100644 --- a/sysutils/nut/src/opnsense/mvc/app/views/OPNsense/Nut/index.volt +++ b/sysutils/nut/src/opnsense/mvc/app/views/OPNsense/Nut/index.volt @@ -1,6 +1,6 @@ {# # Copyright (C) 2017 Michael Muenz - # Copyright (C) 2014–2017 Deciso B.V. + # Copyright (C) 2014-2017 Deciso B.V. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -86,54 +86,9 @@
- {% for tab in settings['tabs']|default([]) %} - {% if tab['subtabs']|default(false) %} - {# Tab with dropdown #} - {% for subtab in tab['subtabs']|default({})%} -
- {{ partial("layout_partials/base_form",['fields':subtab[2],'id':'frm_'~subtab[0],'data_title':subtab[1],'apply_btn_id':'save_'~subtab[0]]) }} -
- {% endfor %} - {% endif %} - {% if tab['subtabs']|default(false)==false %} -
- {{ partial("layout_partials/base_form",['fields':tab[2],'id':'frm_'~tab[0],'apply_btn_id':'save_'~tab[0]]) }} -
- {% endif %} - {% endfor %} + {{ partial("layout_partials/base_tabs_content",['formData':settings]) }}