mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
13 lines
596 B
Plaintext
13 lines
596 B
Plaintext
template(name='passwordInput')
|
|
.at-input
|
|
label(for='at-field-{{_id}}') {{displayName}}
|
|
.password-input-container
|
|
input.password-field(type="{{type}}" placeholder="{{displayName}}" autocomplete="{{autocomplete}}" required="{{required}}")
|
|
button.password-toggle-btn.primary(type="button" tabindex="0" aria-label="{{_ 'password'}}: {{_ 'visibility'}}" title="{{_ 'password'}}: {{_ 'visibility'}}")
|
|
i.fa.fa-eye.eye-icon(aria-hidden="true")
|
|
i.fa.fa-eye-slash.eye-slash-icon(aria-hidden="true")
|
|
if errs
|
|
.at-error
|
|
each errs
|
|
div {{this}}
|