19 lines
389 B
HTML
19 lines
389 B
HTML
<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>
|