aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/settings_module.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/settings_module.tpl')
-rwxr-xr-xview/tpl/settings_module.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/view/tpl/settings_module.tpl b/view/tpl/settings_module.tpl
new file mode 100755
index 000000000..03d16d1d7
--- /dev/null
+++ b/view/tpl/settings_module.tpl
@@ -0,0 +1,22 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$title}}</h2>
+ </div>
+ <div class="section-content-wrapper">
+ <form action="{{$action_url}}" method="post" autocomplete="off">
+ <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+ {{if $rpath}}
+ <input type='hidden' name='rpath' value='{{$rpath}}'>
+ {{/if}}
+ {{foreach $features as $feature}}
+ {{include file="field_checkbox.tpl" field=$feature}}
+ {{/foreach}}
+ {{if $extra_settings_html}}
+ {{$extra_settings_html}}
+ {{/if}}
+ <div class="settings-submit-wrapper" >
+ <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
+ </div>
+ </form>
+ </div>
+</div>