]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/field_intcheckbox.tpl
Merge pull request #5966 from JeroenED/theme/frio/oembed/view-active-class
[friendica.git] / view / theme / frio / templates / field_intcheckbox.tpl
index 8863d14c4d794cc5621c14499a878a0ab984039d..f898c87faf0001b5a81035afafd2db179492559c 100644 (file)
@@ -2,6 +2,8 @@
        <div class="form-group field checkbox">
                <input type="checkbox" name="{{$field.0}}" id="id_{{$field.0}}" value="{{$field.3|escape:'html'}}" {{if $field.2}}checked="checked"{{/if}} aria-checked="{{if $field.2}}true{{else}}false{{/if}}" aria-describedby="{{$field.0}}_tip">
                <label for="id_{{$field.0}}">{{$field.1}}</label>
-               <span class="help-block" role="tooltip" id="{{$field.0}}_tip">{{$field.4}}</span>
+               {{if $field.4}}
+               <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.4}}</span>
+               {{/if}}
        </div>
        <div class="clear"></div>