mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Updated reddit templates
This commit is contained in:
@@ -3,17 +3,20 @@
|
||||
{% block title %}Add Reddit Account{% endblock %}
|
||||
|
||||
{% 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
|
||||
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>
|
||||
{% csrf_token %}
|
||||
<br />
|
||||
<input type="submit" value="Add Account" />
|
||||
<formset>
|
||||
{% include "formtools/formfield.html" with field=form.username %}
|
||||
{% csrf_token %}
|
||||
<input type="submit" value="Add Account" />
|
||||
</formset>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user