{% if authorities %}
{% for authority in authorities %}
{% if authority.name %}
- <option value="{{ authority.authority_hrn }}">{{authority.name}}</option>
+ {% if authority.authority_hrn == authority_hrn %}
+ <option value="{{ authority.authority_hrn }}" selected>{{authority.name}}</option>
+ {% else %}
+ <option value="{{ authority.authority_hrn }}">{{authority.name}}</option>
+ {% endif %}
{% else %}
+ {% if authority.authority_hrn == authority_hrn %}
+ <option value="{{ authority.authority_hrn }}" selected>{{authority.authority_hrn}}</option>
+ {% else %}
<option value="{{ authority.authority_hrn }}">{{authority.authority_hrn}}</option>
+ {% endif %}
{% endif %}
- {% endfor %}
+ {% endfor %}
{% else %}
<option value:"">No authority found !!!</option>
{% endif %}
</select>
</div>
<p></p>
- <p>Organization not listed? <a href="/portal/join">Request its addition now.</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
-<div class="row">
- <div class="col-md-10">
- <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.
- 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>
- </div>
-</div>
<div class="row">
<div class="col-md-12">
<div class="form-group" id="register">