{% 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>
{% for authority in authorities %}
{% if authority.name %}
{value:"{{ authority.name }}",label:"{{authority.name}}"},
+ // show hrn if we don't have the name
+ {% else %}
+ {value:"{{ authority.authority_hrn }}",label:"{{authority.authority_hrn}}"},
{% endif %}
{% endfor %}
{% else %}