{% if authorities %}
{% for authority in authorities %}
{% if authority.name %}
- {% 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 %}