add app user management allauth
This commit is contained in:
18
templates/partials/email_form.html
Normal file
18
templates/partials/email_form.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<form
|
||||
action="{% url 'profile-emailchange' %}"
|
||||
method="post"
|
||||
class="d-flex gap-2"
|
||||
autocomplete="off"
|
||||
>
|
||||
{% csrf_token %} {% for field in form %} {{ field }} {% endfor %}
|
||||
<button class="btn btn-dark" type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
<a
|
||||
hx-swap-oob="true"
|
||||
id="email-edit"
|
||||
href="{% url 'profile-settings' %}"
|
||||
class="text-primary text-decoration-none"
|
||||
>
|
||||
Cancel
|
||||
</a>
|
||||
Reference in New Issue
Block a user