Change class names for validation errors in html

Implements the class name changes detailed in:
https://github.com/alphagov/govuk_elements/pull/405
This commit is contained in:
Chris Hill-Scott
2017-04-10 11:16:22 +01:00
parent 87c81c994f
commit 8d5af47620
6 changed files with 20 additions and 12 deletions

View File

@@ -8,7 +8,7 @@
{% if error %}
<div class="validation-wrapper">
{% endif %}
<fieldset class="form-group{% if field.errors %} error{% endif %}" id="{{ field.name }}">
<fieldset class="form-group{% if field.errors %} form-group-error{% endif %}" id="{{ field.name }}">
<legend>
<span class="form-label">
{{ field.label.text }}