diff --git a/templates/zephyr/accounts_home.html b/templates/zephyr/accounts_home.html index 5fe20972b4..a64609339c 100644 --- a/templates/zephyr/accounts_home.html +++ b/templates/zephyr/accounts_home.html @@ -28,10 +28,6 @@ autofocus('#email'); - or - - -

By continuing, you are indicating that you have read - and agree to our Terms of Service.

-
diff --git a/templates/zephyr/register.html b/templates/zephyr/register.html index 00e11b91e8..51f22da47b 100644 --- a/templates/zephyr/register.html +++ b/templates/zephyr/register.html @@ -3,6 +3,8 @@ {% comment %} Gather other user information, after having confirmed their email address. + +Form is validated both client-side using jquery-validate (see signup.js) and server-side. {% endcomment %} {% block for_you %}for {% if company_name %} {{company_name}} {% else %} __________ {% endif %} {% endblock %} @@ -32,8 +34,6 @@ their email address. value="{% if form.full_name.value %}{{ form.full_name.value }}{% endif %}" maxlength="100" /> {% if form.full_name.errors %} -
-
{% for error in form.full_name.errors %}
{{ error }}
{% endfor %} @@ -47,15 +47,35 @@ their email address. value="{% if form.password.value %}{{ form.password.value }}{% endif %}" maxlength="100" /> {% if form.password.errors %} -
-
{% for error in form.password.errors %}
{{ error }}
{% endfor %} {% endif %} -
+ +
+
+ + {% if form.terms.errors %} + {% for error in form.terms.errors %} +
{{ error }}
+ {% endfor %} + {% endif %} +
+
+

diff --git a/zephyr/forms.py b/zephyr/forms.py index 299116ed49..ebf97f9632 100644 --- a/zephyr/forms.py +++ b/zephyr/forms.py @@ -17,6 +17,7 @@ class RegistrationForm(forms.Form): full_name = forms.CharField(max_length=100) password = forms.CharField(widget=forms.PasswordInput, max_length=100) domain = forms.CharField(max_length=100) + terms = forms.BooleanField(required=True) class HomepageForm(forms.Form): email = UniqueEmailField()