aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/settings_addon.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/settings_addon.tpl')
-rw-r--r--view/tpl/settings_addon.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/view/tpl/settings_addon.tpl b/view/tpl/settings_addon.tpl
new file mode 100644
index 000000000..93bf3d083
--- /dev/null
+++ b/view/tpl/settings_addon.tpl
@@ -0,0 +1,22 @@
+<div class="generic-content-wrapper">
+ <div class="section-title-wrapper">
+ <h2>{{$title}}</h2>
+ </div>
+ <div class="section-content-wrapper">
+ {{if $action_url}}
+ <form action="{{$action_url}}" method="post" autocomplete="off">
+ {{/if}}
+ {{if $form_security_token}}
+ <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+ {{/if}}
+ {{$content}}
+ {{if $submit}}
+ <div class="settings-submit-wrapper" >
+ <button type="submit" name="submit" class="btn btn-primary">{{$submit}}</button>
+ </div>
+ {{/if}}
+ {{if $action_url}}
+ </form>
+ {{/if}}
+ </div>
+</div>