Updated reddit templates

This commit is contained in:
2011-12-04 17:54:33 +00:00
parent 7fe2e3af52
commit 7043646ba1
2 changed files with 11 additions and 8 deletions

View File

@@ -3,17 +3,20 @@
{% block title %}Add Reddit Account{% endblock %}
{% block content %}
<div class="page-header">
<h1>Add Reddit Account</h1>
</div>
<p>This will bind a Reddit account to your Auth Gateway login, this is usually required for application to the
corporation</p>
<p>Please note, you will be forever tied to this account and posts and comments made on this account will be checked
on from time to time</p>
<form action="{% url reddit-addaccount %}" method="post">
<table>
{{ form.as_table }}
</table>
<formset>
{% include "formtools/formfield.html" with field=form.username %}
{% csrf_token %}
<br />
<input type="submit" value="Add Account" />
</formset>
</form>
{% endblock %}

View File

@@ -6,7 +6,7 @@
<h1>Delete Reddit Account</h1>
<p>Do you wish to delete the Reddit account {{ account.username }} from Auth?</p>
<form action="{% url reddit-delaccount account.id %}" method="post">
<input type="submit" value="Delete Account" />
<input type="submit" value="Delete Account" class="btn warning"/>
{% csrf_token %}
</form>
{% endblock %}