fixed translation, and changed tabs to spaces, and change it so the user can view their password as they're typing.

This commit is contained in:
Rodney Ewing 2013-05-21 08:51:21 -07:00
parent eb396abc4a
commit 2ba7603469
3 changed files with 14 additions and 13 deletions

View File

@ -103,4 +103,5 @@ class ChangePassForm(wtforms.Form):
new_password = wtforms.PasswordField(
_('New password'),
[wtforms.validators.Required(),
wtforms.validators.Length(min=6, max=30)])
wtforms.validators.Length(min=6, max=30)],
id="password")

View File

@ -41,9 +41,9 @@
Changing {{ username }}'s account settings
{%- endtrans -%}
</h1>
<p>{% trans %}Change your{% endtrans %}
<p>
<a href="{{ request.urlgen('mediagoblin.edit.pass') }}">
{% trans %}password.{% endtrans %}
{% trans %}Change your password.{% endtrans %}
</a>
</p>
<div class="form_field_input">