From 78f150cfbc1b713bfba3101fdc3f1fd624120637 Mon Sep 17 00:00:00 2001 From: me Date: Sat, 14 Nov 2020 23:37:18 +0100 Subject: air.s1: field templates checkbox/input/select and one new --- view/tpl/field_checkbox.tpl | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) mode change 100755 => 100644 view/tpl/field_checkbox.tpl (limited to 'view/tpl/field_checkbox.tpl') diff --git a/view/tpl/field_checkbox.tpl b/view/tpl/field_checkbox.tpl old mode 100755 new mode 100644 index f779f937c..b1665f75f --- a/view/tpl/field_checkbox.tpl +++ b/view/tpl/field_checkbox.tpl @@ -1,5 +1,25 @@
- +
{{$field.3}}
+{{* + COMMENTS for this template: + @author hilmar runge, 2020.01 + $field array index: + .0 field name: name=... for input, id=id_... for input, id=label_... for label, id=help_... for small text + .1 label text + .2 checked + .3 form text + .4 on/off value: + .4.0 off + .4.1 on + .5 additional operands for html input statement + .6 label text addition, used for qmc + css classes used: + .clearfix, .form_group, .checkbox + .floatright + .switchlabel, .onoffswitch-switch + .required, .code + .form-control, .form-text, .text-muted +*}} -- cgit v1.2.3