]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/field_checkbox.tpl
Bugfix: there was a gui issue on the navbar account dropdown button
[friendica.git] / view / templates / field_checkbox.tpl
index f90b012f1c471cf3d756c87761bc33dc9724863a..3d4a4284b6b6859001d77250b315fecdd032a70d 100644 (file)
@@ -1,7 +1,6 @@
-
-       
-       <div class='field checkbox' id='div_id_{{$field.0}}'>
-               <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>
+       <div class="field checkbox" id="div_id_{{$field.0}}">
+               <label for="id_{{$field.0}}">{{$field.1}}</label>
+               <input type="hidden" name="{{$field.0}}" value="0">
+               <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" aria-describedby="{{$field.0}}_tip" value="1" {{if $field.2}}checked="checked"{{/if}}>
+               <span class="field_help" role="tooltip" id="{{$field.0}}_tip">{{$field.3}}</span>
        </div>