aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/pdledit_gui_templates.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/pdledit_gui_templates.tpl')
-rw-r--r--view/tpl/pdledit_gui_templates.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/pdledit_gui_templates.tpl b/view/tpl/pdledit_gui_templates.tpl
new file mode 100644
index 000000000..0f3d8a7b6
--- /dev/null
+++ b/view/tpl/pdledit_gui_templates.tpl
@@ -0,0 +1,11 @@
+<form id="pdledit_gui_templates_form">
+ {{foreach $templates as $template}}
+ <div class="form-check mb-2">
+ <input class="form-check-input" type="radio" name="template" id="id_template_{{$template.name}}" value="{{$template.name}}" {{if $template.name == $active}} checked{{/if}}>
+ <label class="form-check-label" for="id_template_{{$template.name}}">
+ {{$template.name}}
+ </label>
+ <small class="text-muted">{{$template.desc}}</small>
+ </div>
+ {{/foreach}}
+</form>