Skip to content

Commit

Permalink
feat: login blocks (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasvinclav committed Jun 10, 2024
1 parent 91c7439 commit 43e1904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/unfold/templates/admin/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ <h1 class="font-semibold mb-10">
{% include "unfold/helpers/messages/error.html" with error=message %}
{% endif %}

{% block login_before %}{% endblock %}

<form action="{{ app_path }}" method="post" id="login-form">
{% csrf_token %}

Expand All @@ -70,6 +72,8 @@ <h1 class="font-semibold mb-10">
</button>
</div>
</form>

{% block login_after %}{% endblock %}
</div>

<div class="absolute flex flex-row items-center justify-between left-0 m-4 right-0 top-0">
Expand Down

0 comments on commit 43e1904

Please sign in to comment.