aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/forms.py2
-rw-r--r--src/web/templates/signup.html12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/web/forms.py b/src/web/forms.py
index 90e90584..eb571cc8 100644
--- a/src/web/forms.py
+++ b/src/web/forms.py
@@ -48,7 +48,7 @@ class SignupForm(Form):
email = EmailField(lazy_gettext("Email"),
[validators.Length(min=6, max=35),
validators.Required(
- lazy_gettext("Please enter your email address (for account activation, won't be stored)."))])
+ lazy_gettext("Please enter your email address (only for account activation, won't be stored)."))])
password = PasswordField(lazy_gettext("Password"),
[validators.Required(lazy_gettext("Please enter a password.")),
validators.Length(min=6, max=100)])
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 />
bgstack15