aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/field_checkbox.tpl
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2015-01-02 12:10:08 +1100
committerRedMatrix <info@friendica.com>2015-01-02 12:10:08 +1100
commitb54235234fdba83bc4505672e65ad94fbdbccb62 (patch)
treea7e9a9db526d5c25fd58882637fa696a4734960a /view/tpl/field_checkbox.tpl
parent93b94704878c1b66ee95987de2b24dc39163763a (diff)
parentef6680f7adfeacb0e7614c509e8861f08ff066e8 (diff)
downloadvolse-hubzilla-b54235234fdba83bc4505672e65ad94fbdbccb62.tar.gz
volse-hubzilla-b54235234fdba83bc4505672e65ad94fbdbccb62.tar.bz2
volse-hubzilla-b54235234fdba83bc4505672e65ad94fbdbccb62.zip
Merge pull request #803 from pafcu/checkboxes
Checkboxyfy settings, style checkboxes as switches in redbasic
Diffstat (limited to 'view/tpl/field_checkbox.tpl')
-rwxr-xr-xview/tpl/field_checkbox.tpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/view/tpl/field_checkbox.tpl b/view/tpl/field_checkbox.tpl
index 51d56f69c..5c7f58ad1 100755
--- a/view/tpl/field_checkbox.tpl
+++ b/view/tpl/field_checkbox.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="1" {{if $field.2}}checked="checked"{{/if}}>
- <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>