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

View File

@@ -6,7 +6,7 @@
<h1>Delete Reddit Account</h1> <h1>Delete Reddit Account</h1>
<p>Do you wish to delete the Reddit account {{ account.username }} from Auth?</p> <p>Do you wish to delete the Reddit account {{ account.username }} from Auth?</p>
<form action="{% url reddit-delaccount account.id %}" method="post"> <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 %} {% csrf_token %}
</form> </form>
{% endblock %} {% endblock %}