diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-01 10:08:20 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-01 10:08:20 +0100 |
commit | 70f0019905f8c44ed875379a9af65988e536b4f4 (patch) | |
tree | 7470fc4ee3199c585be3e9e023a135eda8e34b02 /view/tpl/field_intcheckbox.tpl | |
parent | 26069e6ca189533152c825a96755f7ef31cb28a8 (diff) | |
download | volse-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-x | view/tpl/field_intcheckbox.tpl | 3 |
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> |