From: Yasin Date: Thu, 15 Jan 2015 15:25:25 +0000 (+0100) Subject: F4F: registration form fixed X-Git-Tag: myslice-1.3~120 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2b383a5e10af59f34dc309bb1d7638205b801f01;p=unfold.git F4F: registration form fixed --- diff --git a/portal/registrationview.py b/portal/registrationview.py index a1deeada..d5d3b972 100644 --- a/portal/registrationview.py +++ b/portal/registrationview.py @@ -138,7 +138,7 @@ class RegistrationView (FreeAccessView, ThemeView): # sqlite3 /var/unfold/unfold.sqlite3 # select email from auth_user; if UserModel._default_manager.filter(email__iexact = user_request['email']): - errors.append('Contact OneLab support or try with another email.') + errors.append('Contact support or try with another email.') # XXX TODO: Factorize with portal/accountview.py # XXX TODO: Factorize with portal/registrationview.py diff --git a/portal/templates/fed4fire/fed4fire_registration_view.html b/portal/templates/fed4fire/fed4fire_registration_view.html index 29e08955..de03e3c8 100644 --- a/portal/templates/fed4fire/fed4fire_registration_view.html +++ b/portal/templates/fed4fire/fed4fire_registration_view.html @@ -3,101 +3,130 @@ {% block content %}
+

User RegistrationUser sign-up

+
-

-

Questions? Contact us.

+
+

Questions? Contact us.

+
{% if errors %} - +
+
+
    + {% for error in errors %} +
  • {{ error | safe }}
  • + {% endfor %} +
+
+
{% endif %} -
-
-{% csrf_token %} -
- -

- -

If your organization does not deploy a Fed4FIRE authority itself, you can use the
default one called "fed4fire.global". + +

+
+
+ {% csrf_token %} + +

+
+ +
+

+ +

If your organization does not deploy a Fed4FIRE authority itself, you can use the
default one called "fed4fire.global". If your organization however does provide a
Fed4FIRE authority itself, please make sure to select it here. If you start typing
your organization's name, it will pop up.

+
+
-
-
+
+

- +
- +
- + placeholder="Email" required />
- -
+

- + placeholder="Password" required />
- +
- -
+
+
+
+
+

+    I agree to the + terms and conditions. +
- -
-

- I agree to the - +
+
+
+
+

+ + +
+
+ - + + {% endblock %}