takahe/templates/admin/invite_create.html

20 lines
658 B
HTML
Raw Normal View History

{% extends "admin/base_main.html" %}
2022-12-20 08:51:53 +00:00
{% block subtitle %}Create Invite{% endblock %}
{% block settings_content %}
2022-12-20 08:51:53 +00:00
<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 %}
2022-12-20 08:51:53 +00:00
{% 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 %}