diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-04-04 23:52:57 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-04-04 23:52:57 +0200 |
commit | dae61aa42792698fdff2870c9a83451f0569d36a (patch) | |
tree | a5518fc5ddb5e046e7f13f5dace5fabb3a1ab414 /src/web/templates/signup.html | |
parent | account checking without storing the email of the user (diff) | |
download | newspipe-dae61aa42792698fdff2870c9a83451f0569d36a.tar.gz newspipe-dae61aa42792698fdff2870c9a83451f0569d36a.tar.bz2 newspipe-dae61aa42792698fdff2870c9a83451f0569d36a.zip |
Updated signup form.
Diffstat (limited to 'src/web/templates/signup.html')
-rw-r--r-- | src/web/templates/signup.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/web/templates/signup.html b/src/web/templates/signup.html index 69cf0506..8d34b3bf 100644 --- a/src/web/templates/signup.html +++ b/src/web/templates/signup.html @@ -5,15 +5,15 @@ <form action="" method="post" name="save"> {{ form.hidden_tag() }} <div class="form-group"> - {{ form.nickname.label }} - {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + {{ form.nickname(class_="form-control", placeholder=_('Your nickname')) }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} <p class="help-block">{{ _('Letters, numbers, dots and underscores only.') }}</p> </div> - {{ form.email.label }} - {{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} <div class="form-group"> - {{ form.password.label }} - {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + {{ form.email(class_="form-control", placeholder=_('Your email')) }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + <p class="help-block">{{ _("Only for account activation. Your email won't be stored.") }}</p> + </div> + <div class="form-group"> + {{ form.password(class_="form-control", placeholder=_('Your password')) }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} <p class="help-block">{{ _('Minimum 6 characters.') }}</p> </div> <br /> |