{% extends 'settings/admin_layout.html' %} {% block header %}Invites{% endblock %} {% load humanize %} {% block panel %} Link Expires Max uses Times used {% if not invites %} No active invites {% endif %} {% for invite in invites %} {{ invite.link }} {{ invite.expiry|naturaltime }} {{ invite.use_limit }} {{ invite.times_used }} {% endfor %} Generate New Invite {% csrf_token %} Expiry: {{ form.expiry }} Use limit: {{ form.use_limit }} Create Invite {% endblock %}