Merge "Form errors should be very apparent."
This commit is contained in:
commit
874e72b16a
1
AUTHORS
1
AUTHORS
@ -28,6 +28,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 %}
|
||||
|
@ -913,3 +913,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