diff --git a/gadjo/static/css/_forms.scss b/gadjo/static/css/_forms.scss index 54d032f..acf5adc 100644 --- a/gadjo/static/css/_forms.scss +++ b/gadjo/static/css/_forms.scss @@ -49,12 +49,17 @@ div.error { background: transparent; padding-left: 0px; margin-left: 2px; -} -div.error::before { - content: "\f071"; /* fa-exclamation-triangle */ - font-family: FontAwesome; - padding-right: 1ex; + &::before { + content: "\f071"; /* fa-exclamation-triangle */ + font-family: FontAwesome; + padding-right: 1ex; + } + + p { + display: inline-block; + margin: 0; + } } span.required { diff --git a/gadjo/templates/gadjo/widget.html b/gadjo/templates/gadjo/widget.html index 766b2cf..26eefe1 100644 --- a/gadjo/templates/gadjo/widget.html +++ b/gadjo/templates/gadjo/widget.html @@ -19,11 +19,11 @@
{% block widget-error %} {% if field.errors %} -
+

{% for error in field.errors %} {{ error }}{% if not forloop.last %}
{% endif %} {% endfor %} -

+

{% endif %} {% endblock %} {% block widget-control %}