aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_intcheckbox.tpl
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-01 10:08:20 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-01 10:08:20 +0100
commit70f0019905f8c44ed875379a9af65988e536b4f4 (patch)
tree7470fc4ee3199c585be3e9e023a135eda8e34b02 /view/tpl/field_intcheckbox.tpl
parent26069e6ca189533152c825a96755f7ef31cb28a8 (diff)
downloadvolse-hubzilla-70f0019905f8c44ed875379a9af65988e536b4f4.tar.gz
volse-hubzilla-70f0019905f8c44ed875379a9af65988e536b4f4.tar.bz2
volse-hubzilla-70f0019905f8c44ed875379a9af65988e536b4f4.zip
Checkboxify yesno-fields, but use CSS to show them as switches in Redbasic
Diffstat (limited to 'view/tpl/field_intcheckbox.tpl')
-rwxr-xr-xview/tpl/field_intcheckbox.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/view/tpl/field_intcheckbox.tpl b/view/tpl/field_intcheckbox.tpl
index d9a8d7289..41ee46822 100755
--- a/view/tpl/field_intcheckbox.tpl
+++ b/view/tpl/field_intcheckbox.tpl
@@ -1,5 +1,4 @@
<div class='field checkbox'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
- <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}>
- <span class='field_help'>{{$field.4}}</span>
+ <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}><label for='id_{{$field.0}}'></label><span class='field_help'>{{$field.4}}</span>
</div>