-
Notifications
You must be signed in to change notification settings - Fork 5
/
settings_base.html
32 lines (28 loc) · 1002 Bytes
/
settings_base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{% extends 'base.html' %}
{% load static %}
{% block content %}
<div class="card card-body card-outer">
{% csrf_token %}
<h4>{{ username }}</h4>
<div style="margin:10px;">
<form action="{% url 'password_change' %}" method="GET">
<input class="btn btn-light" type="submit" value="Change password">
</form>
</div>
<div style="margin:10px;">
<form action="{% url 'update_payment' %}" method="GET">
<input class="btn btn-light" type="submit" value="Update payment information">
</form>
</div>
<div style="margin:10px;">
<form action="{% url 'cancel_subscription' %}" method="GET">
<input class="btn btn-danger" type="submit" value="Cancel subscription">
</form>
</div>
<div style="margin:10px;">
<form action="{% url 'delete_user' %}" method="GET">
<input class="btn btn-danger" type="submit" value="Delete account">
</form>
</div>
</div>
{% endblock %}