]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/field_yesno.tpl
Normalize field_*.tpl formatting
[friendica.git] / view / theme / frio / templates / field_yesno.tpl
index 85096c70e3b44835fe5ae79aa8aea23b0c7e86cd..22ef4461e43ecc752a0b4dc6118d12f94b21ac1f 100644 (file)
@@ -4,7 +4,7 @@
                <div class="onoff toggle btn btn-xs pull-right" id="id_{{$field.0}}_onoff">
                        
                        <div class="switchlabel toggle-group">
-                               <input  type="hidden" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.2|escape:'html'}}" aria-describedby="{{$field.0}}_tip">
+                               <input  type="hidden" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.2 nofilter}}" aria-describedby="{{$field.0}}_tip">
                                <label class="btn btn-default btn-xs  active toggle-off">
                                        {{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}}
                                </label>
@@ -14,6 +14,8 @@
                                <span class="toggle-handle btn btn-default btn-xs"></span>
                        </div>
                </div>
-               <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3}}</span>
+               {{if $field.3}}
+               <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3 nofilter}}</span>
+               {{/if}}
        </div>
        <div class="clear"></div>