~sirodoht/mataroa

ec19f4579f39c6575be84501a9993755a33e3a9b — Theodore Keloglou 8 days ago 781143e
move delete account into settings
2 files changed, 8 insertions(+), 4 deletions(-)

M main/templates/main/dashboard.html
M main/templates/main/user_update.html
M main/templates/main/dashboard.html => main/templates/main/dashboard.html +2 -4
@@ 8,6 8,7 @@
    <p class="dashboard-cta">
        <a href="{% url 'post_create' %}"><b>New post »</b></a>
    </p>

    <p class="dashboard-list">
        <a href="{% url 'image_list' %}">Images</a>
        <br><a href="{% url 'page_list' %}">Pages</a>


@@ 23,9 24,6 @@
        <br><a href="mailto:admin@mataroa.blog">Help and support</a>
        <br><a href="{% url 'logout' %}">Log out</a>
    </p>
    <p>
        <a href="{% url 'user_delete' %}" class="type-delete">Delete account</a>
    </p>
    </ul>

</main>
{% endblock %}

M main/templates/main/user_update.html => main/templates/main/user_update.html +6 -0
@@ 5,10 5,16 @@
{% block content %}
<main>
    <h1>Blog settings</h1>

    <form method="post">
        {{ form.as_p }}
        {% csrf_token %}
        <input type="submit" value="Save">
    </form>

    <p>
        <br>
        <a href="{% url 'user_delete' %}" class="type-delete">Delete account</a>
    </p>
</main>
{% endblock %}