git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auto Validation of PLE enabled users
[unfold.git]
/
portal
/
templates
/
onelab
/
onelab_registration_view.html
diff --git
a/portal/templates/onelab/onelab_registration_view.html
b/portal/templates/onelab/onelab_registration_view.html
index
295fe80
..
3436fa1
100644
(file)
--- a/
portal/templates/onelab/onelab_registration_view.html
+++ b/
portal/templates/onelab/onelab_registration_view.html
@@
-15,9
+15,9
@@
{% if errors %}
<div class="row">
<div class="col-md-12">
{% if errors %}
<div class="row">
<div class="col-md-12">
- <ul>
+ <ul
class="error"
>
{% for error in errors %}
{% for error in errors %}
- <li>{{ error }}</li>
+ <li>{{ error
| safe
}}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</ul>
</div>
@@
-489,9
+489,6
@@
$(document).ready(function(){
{% for authority in authorities %}
{% if authority.name %}
{value:"{{ authority.name }}",label:"{{authority.name}}"},
{% 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 %}
{% endif %}
{% endfor %}
{% else %}
@@
-515,15
+512,10
@@
$(document).ready(function(){
minLength: 0,
change: function (event, ui) {
if(!ui.item){
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("");
}
}
jQuery("#authority_hrn").val("");
}
}
- //select: function( event, ui ) {console.log(jQuery(this))}
});
});
- // for hover texts
$('[title!=""]').qtip();
$("form").validate();
$("form").submit(function() {
$('[title!=""]').qtip();
$("form").validate();
$("form").submit(function() {