]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/field_password.tpl
Merge pull request #1374 from annando/1502-noscrape-always-active
[friendica.git] / view / templates / field_password.tpl
index 5889d2e9c0d023969c1ac9c159d29007be017d01..2e9e91529ade3249167e7f6eafd25e5c3d5c12eb 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}}"{{if $field.4 eq 'required'}} required{{/if}}{{if $field.5 eq 'autofocus'}} autofocus{{/if}}>
                <span class='field_help'>{{$field.3}}</span>
        </div>