{% if errors %}
<div class="row">
<div class="col-md-12">
- <ul>
+ <ul class="error">
{% for error in errors %}
- <li>{{ error }}</li>
+ <li>{{ error | safe }}</li>
{% endfor %}
</ul>
</div>
<div class="form-group" id="register">
<span class="glyphicon glyphicon-info-sign"></span>
If you are a <b>PlanetLab Europe</b> user, please fill in this form using the same email address that you
- currently use for your PlanetLab Europe account. <br />
+ 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.
</div>
{% 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 %}
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() {