takahe/templates/admin/invite_view.html
Andrew Godwin 9c376395db Invites overhaul
No email tie, added uses and expires, now works by URL.
2022-12-22 07:03:21 +00:00

21 lines
775 B
HTML

{% extends "settings/base.html" %}
{% block subtitle %}View Invite{% endblock %}
{% block content %}
<form action="." method="POST">
{% csrf_token %}
<fieldset>
<legend>Details</legend>
{% include "forms/_field.html" with field=form.link %}
{% include "forms/_field.html" with field=form.uses %}
{% include "forms/_field.html" with field=form.expires_days %}
{% include "forms/_field.html" with field=form.notes %}
</fieldset>
<div class="buttons">
<a href="{% url "admin_invites" %}" class="button secondary left">Back</a>
<button class="delete" name="delete">Delete</button>
<button>Save</button>
</div>
</form>
{% endblock %}