]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/field_password.tpl
Merge remote-tracking branch 'upstream/develop' into 1509-diaspora-import
[friendica.git] / view / templates / field_password.tpl
index 5889d2e9c0d023969c1ac9c159d29007be017d01..8a9f0dc330e89ddf8fdb4609268b0dbc3851fd55 100644 (file)
@@ -1,11 +1,6 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
        
-       <div class='field password'>
+       <div class='field password' id='wrapper_{{$field.0}}'>
                <label for='id_{{$field.0}}'>{{$field.1}}</label>
-               <input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2|escape:'html'}}"{{if $field.4 eq 'required'}} required{{/if}}{{if $field.5 eq 'autofocus'}} autofocus{{/if}}>
                <span class='field_help'>{{$field.3}}</span>
        </div>