mirror of
https://github.com/pinry/pinry.git
synced 2026-01-16 20:22:06 +01:00
Hide passwords from view on forms
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="form-group{% if field.errors %} has-error{% endif %}">
|
||||
<input type="text" id="id_{{ field.html_name }}" name="{{ field.html_name }}" class="form-control input-lg" placeholder="{{ field.label }}"/>
|
||||
<input type="{% if field.html_name == "password" %}password{% else %}text{% endif %}" id="id_{{ field.html_name }}" name="{{ field.html_name }}" class="form-control input-lg" placeholder="{{ field.label }}"/>
|
||||
{% if field.errors %}
|
||||
<span class="help-block">
|
||||
{% if field.errors %}
|
||||
|
||||
Reference in New Issue
Block a user