edit file styling

rtd2
Bobby Grace 2010-08-15 12:41:16 -05:00
parent aedac7b80c
commit 2859fd6cf8
3 changed files with 15 additions and 2 deletions

View File

@ -2,8 +2,13 @@
{% block title %}Delete {{ file.heading }}?{% endblock %}
{% block content-header %}<h1>Delete {{ file.heading|default:"file" }}?</h1>{% endblock %}
{% block editing-option-manage %}class="active"{% endblock %}
{% block content %}
<p>You sure? O_o</p>
<form method="post" action=".">{% csrf_token %}
<input type="submit" value="Delete" />
<input type="submit" value="I don't ever want to see '{{ file.heading|default:"file" }}' again">
</form>
{% endblock %}

View File

@ -18,6 +18,10 @@
{% block title %}Edit {{ file.heading }}{% endblock %}
{% block content-header %}<h1>Edit {{ file.heading|default:"file" }}?</h1>{% endblock %}
{% block editing-option-manage %}class="active"{% endblock %}
{% block content %}
{% comment %}
<div id="legend" style="float: right; width: 200px;">

View File

@ -2,8 +2,12 @@
{% block title %}Delete {{ project.name }}?{% endblock %}
{% block content-header %}<h1>Delete {{ project.name }}?</h1>{% endblock %}
{% block content %}
<h2>You sure? O_o</h2>
<form method="post" action=".">{% csrf_token %}
<input type="submit" value="Delete" />
<input type="submit" value="Delete forever" />
</form>
{% endblock %}