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 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 %}
|
||||||
|
|||||||
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user