]> git.mxchange.org Git - friendica.git/blob - view/templates/field_yesno.tpl
Merge remote-tracking branch 'upstream/master'
[friendica.git] / view / templates / field_yesno.tpl
1 {{*
2  *      AUTOMATICALLY GENERATED TEMPLATE
3  *      DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
4  *
5  *}}
6         <div class='field yesno'>
7                 <label for='id_{{$field.0}}'>{{$field.1}}</label>
8                 <div class='onoff' id="id_{{$field.0}}_onoff">
9                         <input  type="hidden" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
10                         <a href="#" class='off'>
11                                 {{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}}
12                         </a>
13                         <a href="#" class='on'>
14                                 {{if $field.4}}{{$field.4.1}}{{else}}ON{{/if}}
15                         </a>
16                 </div>
17                 <span class='field_help'>{{$field.3}}</span>
18         </div>