Skip to content

Commit

Permalink
Password 2 should have the correct errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brucebolt committed Jun 20, 2018
1 parent b9e45e2 commit 9eb8d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/user/new_user_form.html
Expand Up @@ -6,7 +6,7 @@
{{ form.input("fullname", id="field-fullname", label=_("Full Name"), placeholder=_("Joe Bloggs"), value=data.fullname, error=errors.fullname, classes=["control-medium"]) }}
{{ form.input("email", id="field-email", label=_("Email"), type="email", placeholder=_("joe@example.com"), value=data.email, error=errors.email, classes=["control-medium"], is_required=True) }}
{{ form.input("password1", id="field-password", label=_("Password"), type="password", placeholder="••••••••", value=data.password1, error=errors.password1, classes=["control-medium"], is_required=True) }}
{{ form.input("password2", id="field-confirm-password", label=_("Confirm"), type="password", placeholder="••••••••", value=data.password2, error=errors.password1, classes=["control-medium"], is_required=True) }}
{{ form.input("password2", id="field-confirm-password", label=_("Confirm"), type="password", placeholder="••••••••", value=data.password2, error=errors.password2, classes=["control-medium"], is_required=True) }}

{% if g.recaptcha_publickey %}
{% snippet "user/snippets/recaptcha.html", public_key=g.recaptcha_publickey %}
Expand Down

0 comments on commit 9eb8d39

Please sign in to comment.