aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_checkbox.tpl
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-01 11:33:00 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-01 11:33:00 +0100
commitef6680f7adfeacb0e7614c509e8861f08ff066e8 (patch)
tree41d40b27657d217cb36b402525cbc6aca51eaefe /view/tpl/field_checkbox.tpl
parent70f0019905f8c44ed875379a9af65988e536b4f4 (diff)
downloadvolse-hubzilla-ef6680f7adfeacb0e7614c509e8861f08ff066e8.tar.gz
volse-hubzilla-ef6680f7adfeacb0e7614c509e8861f08ff066e8.tar.bz2
volse-hubzilla-ef6680f7adfeacb0e7614c509e8861f08ff066e8.zip
Possibly make switches work on IE8 (untested)
Diffstat (limited to 'view/tpl/field_checkbox.tpl')
-rwxr-xr-xview/tpl/field_checkbox.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/field_checkbox.tpl b/view/tpl/field_checkbox.tpl
index 7e4f00a2d..5c7f58ad1 100755
--- a/view/tpl/field_checkbox.tpl
+++ b/view/tpl/field_checkbox.tpl
@@ -1,4 +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="1" {{if $field.2}}checked="checked"{{/if}}><label for='id_{{$field.0}}'></label><span class='field_help'>{{$field.3}}</span>
+ <label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
+ <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}><label class="switchlabel" for='id_{{$field.0}}'></label><span class='field_help'>{{$field.3}}</span>
</div>