2016-06-11 18:15:48 -04:00
|
|
|
<div class="generic-page-wrapper">
|
|
|
|
{{* include the title template for the settings title *}}
|
|
|
|
{{include file="section_title.tpl" title=$title }}
|
|
|
|
|
|
|
|
|
|
|
|
<form action="settings/features" method="post" autocomplete="off">
|
|
|
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
|
|
|
{{* We organize the settings in collapsable panel-groups *}}
|
2016-06-12 13:59:27 -04:00
|
|
|
<div class="panel-group panel-group-settings" id="settings" role="tablist" aria-multiselectable="true">
|
2016-06-11 18:15:48 -04:00
|
|
|
{{foreach $features as $g => $f}}
|
|
|
|
<div class="panel">
|
|
|
|
<div class="section-subtitle-wrapper" role="tab" id="{{$g}}-settings-title">
|
|
|
|
<h4>
|
2017-10-20 09:21:42 -04:00
|
|
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#settings" href="#{{$g}}-settings-content" aria-expanded="true" aria-controls="{{$g}}-settings-content">
|
2016-06-11 18:15:48 -04:00
|
|
|
{{$f.0}}
|
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
<div id="{{$g}}-settings-content" class="panel-collapse collapse" role="tabpanel" aria-labelledby="{{$g}}-settings-title">
|
|
|
|
<div class="section-content-tools-wrapper">
|
|
|
|
{{foreach $f.1 as $fcat}}
|
2020-02-05 03:08:32 -05:00
|
|
|
{{include file="field_checkbox.tpl" field=$fcat}}
|
2016-06-11 18:15:48 -04:00
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
<div class="form-group pull-right settings-submit-wrapper" >
|
2018-12-13 22:28:12 -05:00
|
|
|
<button type="submit" name="submit" class="btn btn-primary" value="{{$submit}}">{{$submit}}</button>
|
2016-06-11 18:15:48 -04:00
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|