X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_registration_view.html;h=3436fa138068b144f35aaf72734f166e0b3fec06;hb=2842fc88e027493dd9ae00e0f8a69a86f3d50680;hp=ec3c6e7a1969907406efa3c5be4eb16a5d5dfb79;hpb=a71b20258a7c07e5e10b812acb887bc755f6ec22;p=unfold.git
diff --git a/portal/templates/onelab/onelab_registration_view.html b/portal/templates/onelab/onelab_registration_view.html
index ec3c6e7a..3436fa13 100644
--- a/portal/templates/onelab/onelab_registration_view.html
+++ b/portal/templates/onelab/onelab_registration_view.html
@@ -9,32 +9,32 @@
{% if errors %}
-
- {% for error in errors %}
- - {{ error }}
- {% endfor %}
-
+
+
+
+ {% for error in errors %}
+ - {{ error | safe }}
+ {% endfor %}
+
+
+
{% endif %}
-
-
-
@@ -489,9 +489,6 @@ $(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}}"},
{% endif %}
{% endfor %}
{% else %}
@@ -515,15 +512,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() {