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