X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_registration_view.html;h=18af096522582b7dea94fbec1028f01de61dd5b1;hb=4dd39f9af6b356e50c5384007c14be2b63420a49;hp=18314d3dcadbfb65b5f3b25c9e3be6f4cd8e559a;hpb=cee44fa48fde5073d590879135c49b360ac411eb;p=myslice.git diff --git a/portal/templates/onelab/onelab_registration_view.html b/portal/templates/onelab/onelab_registration_view.html index 18314d3d..18af0965 100644 --- a/portal/templates/onelab/onelab_registration_view.html +++ b/portal/templates/onelab/onelab_registration_view.html @@ -7,11 +7,6 @@

User RegistrationUser sign-up

-
-
-

Questions? Contact us.

-
-
{% if errors %}
@@ -23,97 +18,117 @@
{% endif %} -
-
-
- +
+
+
{% csrf_token %}

- + +

Organization not listed? Request its addition now.

-
+
+
+

+ Questions? Contact us. +

+
- -
+

-

+

+

-

-
+

+

-

-
- -
+

+

+ +

-
+

-

+

+

-

-
+

+

-

-
+

+

-

-
-
-

+

   I agree to the terms and conditions. -

+

-
+
+

  If you are a PlanetLab Europe user, please fill in this form using the same email address that you currently use for your PlanetLab Europe account. Your existing credentials will be used to validate your OneLab account. Please be sure to specify a different password for your new OneLab account. +

-
-

+
+

+

@@ -488,7 +503,7 @@ $(document).ready(function(){ {% if authorities %} {% for authority in authorities %} {% if authority.name %} - {value:"{{ authority.name }}",label:"{{authority.name}}"}, + {value:"{{ authority.authority_hrn }}",label:"{{authority.name}}"}, // show hrn if we don't have the name {% else %} {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"}, @@ -499,6 +514,7 @@ $(document).ready(function(){ {% endif %} ]; // sorting the list + availableTags.sort(function(a,b){ var nameA=a.value.toLowerCase(), nameB=b.value.toLowerCase(); if (nameA < nameB) { @@ -510,15 +526,7 @@ $(document).ready(function(){ return 0; }); // auto-complete the form - $( "#authority_hrn" ).autocomplete({ - source: availableTags, - minLength: 0, - change: function (event, ui) { - if(!ui.item){ - jQuery("#authority_hrn").val(""); - } - } - }); + jQuery("#org_name").combobox(); $('[title!=""]').qtip(); $("form").validate(); $("form").submit(function() {