Skip to content

Commit 3dae717

Browse files
authored
Override allauth template to style "Set password" (#600)
![Screenshot_2025-05-26_11-34-47](https://github.com/user-attachments/assets/553e18a8-4600-44a6-a131-d4b73f56e234) Closes #591
1 parent bf97470 commit 3dae717

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% extends "profiles/base_edit.html" %}
2+
3+
{% load trans from i18n %}
4+
{% load crispy from crispy_forms_tags %}
5+
6+
{% block title %}
7+
{% trans "Set password" %}
8+
{% endblock title %}
9+
{% block profile_admin_change_password %}
10+
active
11+
{% endblock profile_admin_change_password %}
12+
active
13+
{% block edit_content_header %}
14+
{% trans "Set password" %}
15+
{% endblock edit_content_header %}
16+
17+
{% block edit_content %}
18+
<form method="post" action="." class="ui form">
19+
{% csrf_token %}
20+
{{ form|crispy }}
21+
<button class="ui primary button" type="submit">{% trans "Save" %}</button>
22+
</form>
23+
{% endblock edit_content %}

0 commit comments

Comments
 (0)