mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Merge pull request #270 from alphagov/fix-error-styling-invite-page
Fix error message spacing on yes/no pattern
This commit is contained in:
@@ -9,8 +9,14 @@
|
||||
padding: 10px 0;
|
||||
|
||||
&-label {
|
||||
|
||||
padding-top: 19px;
|
||||
float: left;
|
||||
|
||||
&.error {
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&-fields {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% macro yes_no(field, current_value=None) %}
|
||||
<fieldset class='yes-no {% if field.errors %} error{% endif %}'>
|
||||
<legend class='yes-no-label'>
|
||||
<fieldset class='yes-no'>
|
||||
<legend class='yes-no-label{% if field.errors %} error{% endif %}'>
|
||||
{{ field.label }}
|
||||
{% if field.errors %}
|
||||
<span class="error-message">
|
||||
|
||||
Reference in New Issue
Block a user