Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/unfold/templates/admin/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@

<div class="px-4 pb-4 grow">
<div id="content" class="{% if not cl.model_admin.list_fullwidth %}container{% endif %} mx-auto {% block coltype %}colM{% endblock %}">

{% include "unfold/helpers/messages/errornote.html" with errors=errors %}
{% include "unfold/helpers/messages/error.html" with errors=adminform.form.non_field_errors %}

{% if cl %}
{% tab_list "changelist" cl.opts %}
{% elif opts %}
Expand Down
3 changes: 0 additions & 3 deletions src/unfold/templates/admin/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@
<input type="hidden" name="{{ to_field_var }}" value="{{ to_field }}">
{% endif %}

{% include "unfold/helpers/messages/errornote.html" with errors=errors %}
{% include "unfold/helpers/messages/error.html" with errors=adminform.form.non_field_errors %}

{% block field_sets %}
{% with has_conditional_display=adminform.model_admin.conditional_fields %}
{% for fieldset in adminform %}
Expand Down