X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_registration_view.html;h=18314d3dcadbfb65b5f3b25c9e3be6f4cd8e559a;hb=8f6f52077049744fefcdd4e3d645eca32473914b;hp=7f1f81af7760c5cdb73064920ffb5a440824465b;hpb=ff2d326c9f0ef02fd70e3b0c312d6ec5c5af0ca4;p=myslice.git
diff --git a/portal/templates/onelab/onelab_registration_view.html b/portal/templates/onelab/onelab_registration_view.html
index 7f1f81af..18314d3d 100644
--- a/portal/templates/onelab/onelab_registration_view.html
+++ b/portal/templates/onelab/onelab_registration_view.html
@@ -15,9 +15,9 @@
{% if errors %}
-
+
{% for error in errors %}
- - {{ error }}
+ - {{ error | safe }}
{% endfor %}
@@ -103,7 +103,7 @@
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.
+ 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.
@@ -489,9 +489,9 @@ $(document).ready(function(){
{% for authority in authorities %}
{% if authority.name %}
{value:"{{ authority.name }}",label:"{{authority.name}}"},
- // to show only full name
- // {% else %}
- // {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"},
+ // show hrn if we don't have the name
+ {% else %}
+ {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"},
{% endif %}
{% endfor %}
{% else %}
@@ -515,15 +515,10 @@ $(document).ready(function(){
minLength: 0,
change: function (event, ui) {
if(!ui.item){
- //http://api.jqueryui.com/autocomplete/#event-change -
- // The item selected from the menu, if any. Otherwise the property is null
- //so clear the item for force selection
jQuery("#authority_hrn").val("");
}
}
- //select: function( event, ui ) {console.log(jQuery(this))}
});
- // for hover texts
$('[title!=""]').qtip();
$("form").validate();
$("form").submit(function() {