takahe/templates/admin/invite_create.html

20 lines
658 B
HTML

{% extends "admin/base_main.html" %}
{% block subtitle %}Create Invite{% endblock %}
{% block settings_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 %}