]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/field_select.tpl
Merge pull request #5966 from JeroenED/theme/frio/oembed/view-active-class
[friendica.git] / view / theme / frio / templates / field_select.tpl
index 9c03151214da869a42ff5e96b2ac637470777b93..594b91002efa5e246f783772ec538c106f9c6ed6 100644 (file)
@@ -4,5 +4,7 @@
                <select name="{{$field.0}}" id="id_{{$field.0}}" class="form-control" aria-describedby="{{$field.0}}_tip">
                        {{foreach $field.4 as $opt=>$val}}<option value="{{$opt|escape:'html'}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
                </select>
-               <span class="help-block" id="{{$field.0}}_tip">{{$field.3}}</span>
-</div>
\ No newline at end of file
+               {{if $field.3}}
+               <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3}}</span>
+               {{/if}}
+</div>