We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c05b5ef commit 1659924Copy full SHA for 1659924
1 file changed
tom_eso/templates/tom_eso/partials/eso_user_profile.html
@@ -22,17 +22,7 @@ <h4 class="card-title">ESO Facility User Info</h4>
22
<dt class="col-sm-6">{{ field_data.label }}</dt>
23
<dd class="col-sm-6">
24
{% if field_data.is_password %}
25
- <div style="cursor:pointer;"
26
- title="Click to reveal"
27
- onclick="var i=this.querySelector('input'); i.type = i.type === 'password' ? 'text':'password';">
28
- <input
29
- type="password"
30
- readonly
31
- value="{{ field_data.value }}"
32
- class="form-control-plaintext p-0"
33
- style="display:inline; width:auto; cursor:pointer;"
34
- /> <i class="fa fa-eye"></i>
35
- </div>
+ {% include 'tom_common/partials/revealable_password_input.html' with value=field_data.value %}
36
{% else %}
37
{{ field_data.value }}
38
{% endif %}
0 commit comments