]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/field_password.tpl
Fix review points
[friendica.git] / view / theme / frio / templates / field_password.tpl
index 31defaf33c31470deb4a9cf83d1ab3cc0a4d6350..df29b2fda264bf62d2ed94949d00ca09373b1fa7 100644 (file)
@@ -1,7 +1,9 @@
 
 <div id="id_{{$field.0}}_wrapper" class="form-group field input password">
-       <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}}<span class="required"> {{$field.4}}</span>{{/if}}</label>
-       <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="password" value="{{$field.2|escape:'html'}}" {{if $field.4 eq "required"}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5}}{{/if}} aria-describedby="{{$field.0}}_tip">
-       <span id="{{$field.0}}_tip" class="help-block" role="tooltip">{{$field.3}}</span>
+       <label for="id_{{$field.0}}" id="label_{{$field.0}}">{{$field.1}}{{if $field.4}} <span class="required" title="{{$field.4}}">*</span>{{/if}}</label>
+       <input class="form-control" name="{{$field.0}}" id="id_{{$field.0}}" type="password" value="{{$field.2 nofilter}}" {{if $field.4}} required{{/if}}{{if $field.5 eq "autofocus"}} autofocus{{elseif $field.5}} {{$field.5}}{{/if}} aria-describedby="{{$field.0}}_tip">
+       {{if $field.3}}
+       <span class="help-block" id="{{$field.0}}_tip" role="tooltip">{{$field.3 nofilter}}</span>
+       {{/if}}
        <div class="clear"></div>
 </div>