Skip to content

Commit

Permalink
Fixed error messages not showing in formulars
Browse files Browse the repository at this point in the history
This is a known unresolved issue in Bootstrap 4
See: twbs/bootstrap#23454
  • Loading branch information
fallen committed Oct 14, 2023
1 parent a1cf2fa commit 7e04ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytition/petition/templates/petition/bs4_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{% render_field field|bootstrap class="is-invalid" %}
</div>
{% for error in field.errors %}
<div class="invalid-feedback">
<div class="invalid-feedback d-block">
{{ error }}
</div>
{% endfor %}
Expand Down

0 comments on commit 7e04ac7

Please sign in to comment.