adicionando opção para remover cadastro.
[cascardo/eventmanager.git] / templates / editar_palestrante.html
1 {% extends "base.html" %}
2 {% block content %}
3
4 {% if ok %}
5
6 <div class="confirmation">
7     <p>Seus dados foram editados com sucesso!</p>
8 </div>
9
10 {% else %}
11
12     {% if removed %}
13
14     <div class="confirmation">
15         <p>Seu cadastro foi removido com sucesso.</p>
16     </div>
17
18     {% else %}
19     <form id="cadastro" method="post" action=".">
20         {{ form.as_p }}
21         <input type="submit" value="Ok!" /> <input type="submit" name="delete-account" value="Remover cadastro" style="background: red; color: white;" />
22     </form>
23     {% endif %}
24
25 {% endif %}
26
27 {% endblock %}