Fix errant   on request to go live page

There’s a good reason for having the ` ` – it stops GOV.UK Notify
being split across two lines (which could happen on a smaller viewport,
eg mobile). Gotta protect the brand.

Not good for the brand for it to be showing up in the page though 😬

This got broken as part of 3f41090a94

The label for a form should never have user-submitted content in it, so
using `safe` is fine.
This commit is contained in:
Chris Hill-Scott
2017-02-28 17:02:09 +00:00
parent 9308e95b02
commit 1f0fc9d26f

View File

@@ -7,7 +7,7 @@
<div class="form-group {% if field.errors %} error{% endif %}">
<fieldset>
<legend class="form-label">
{{ field.label.text }}
{{ field.label.text|safe }}
{% if field.errors %}
<span class="error-message">
{{ field.errors[0] }}