Skip to content

Commit 7e04ac7

Browse files
committed
Fixed error messages not showing in formulars
This is a known unresolved issue in Bootstrap 4 See: twbs/bootstrap#23454
1 parent a1cf2fa commit 7e04ac7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytition/petition/templates/petition/bs4_form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{% render_field field|bootstrap class="is-invalid" %}
2424
</div>
2525
{% for error in field.errors %}
26-
<div class="invalid-feedback">
26+
<div class="invalid-feedback d-block">
2727
{{ error }}
2828
</div>
2929
{% endfor %}

0 commit comments

Comments
 (0)