Skip to content

Commit

Permalink
fix: login form messages (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav authored Sep 26, 2024
1 parent be0330c commit 815a33f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unfold/templates/admin/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ <h1 class="font-semibold mb-10">
<span class="block text-primary-600 text-xl dark:text-primary-500">{{ site_title }}</span>
</h1>

{% include "unfold/helpers/messages.html" %}

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

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

0 comments on commit 815a33f

Please sign in to comment.