Commit 80d1a88d authored by Alexander Eyl's avatar Alexander Eyl

Add new functionality: a user can now delete his account by himself.

parent 5752ef5d
{% extends "app/base.html" %}
{% block title %}Account Löschen{% endblock %}
{% block content %}
{% load bootstrap3 %}
<div id="register_div" class="registration_div">
<div class="registration_form">
<h2 class="centertext">Account Löschen</h2>
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
<input class="submit_delete_account" type="submit" value="Lösche Account">
</form>
</div>
</div>
{% endblock %}
\ No newline at end of file
{% extends "app/base.html" %}
{% block content %}
<div class="container">
<div class="alert alert-success text-center">
<strong>Vorgang erfolgreich abgeschlossen!</strong>
</div>
</div>
<div class="container">
<div class="text-center">
<h1>Dein Account wurde erfolgreich gelöscht.</h1>
<p class="lead">Wir hoffen, der Kurs hat dir Spaß gemacht.</p>
</div>
</div>
{% endblock content %}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment