Form errors should be very apparent.
* Adding the required control-group css class to the form fields. * bug #898808 Change-Id: I1c09200e1e58204f5e651d57967f4e3aa4c41919
This commit is contained in:
parent
a6c39e5ba6
commit
86bb083c9d
1
AUTHORS
1
AUTHORS
@ -27,6 +27,7 @@ Jeffrey Wilcox <jeffjapan@gmail.com>
|
||||
Jesse Andrews <anotherjesse@gmail.com>
|
||||
Joe Heck <heckj@mac.com>
|
||||
Joseph Heck <heckj@mac.com>
|
||||
Joshua McKenty <joshua@pistoncloud.com>
|
||||
Julien Danjou <julien.danjou@enovance.com>
|
||||
Ken Pepple <ken.pepple@gmail.com>
|
||||
lzyeval <lzyeval@gmail.com>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for field in form.visible_fields %}
|
||||
<div class="form-field clearfix{% if field.errors %} error{% endif %}">
|
||||
<div class="control-group form-field clearfix{% if field.errors %} error{% endif %}">
|
||||
{{ field.label_tag }}
|
||||
{% if field.errors %}
|
||||
{% for error in field.errors %}
|
||||
|
@ -914,3 +914,11 @@ iframe {
|
||||
float: left;
|
||||
margin-right: 50px;
|
||||
}
|
||||
|
||||
.error .help-inline {
|
||||
background: #efdfdf;
|
||||
border: 1px solid #ead5d8;
|
||||
padding: 10px;
|
||||
display: block;
|
||||
width: 304px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user