takahe/templates/admin/invite_create.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

19 lines
647 B
HTML

{% extends "settings/base.html" %}
{% block subtitle %}Create Invite{% endblock %}
{% block content %}
<form action="." method="POST">
{% csrf_token %}
<fieldset>
<legend>Details</legend>
{% 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>Create</button>
</div>
</form>
{% endblock %}