Skip to content

Commit

Permalink
Render form errors correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 10, 2024
1 parent c36904f commit adf6c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pretalx_pages/templates/pretalx_pages/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<h1>{% trans "Page" %}</h1>
<form action="" method="post" class="form-horizontal" data-id="{{ page.id }}">
{% csrf_token %}
{% include "common/forms/errors.html" with errors=form.non_field_errors %}
{{ form.non_field_errors }}
<fieldset>
<legend>{% trans "General information" %}</legend>
{{ form.title.as_field_group }}
Expand Down

0 comments on commit adf6c86

Please sign in to comment.