2022-11-17 18:16:34 -08:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Create Account{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<form action="." method="POST">
|
|
|
|
{% csrf_token %}
|
|
|
|
<fieldset>
|
|
|
|
<legend>Create An Account</legend>
|
2022-12-17 16:02:42 -08:00
|
|
|
{% if signup_text %}{{ signup_text }}{% endif %}
|
2022-11-20 15:03:09 -08:00
|
|
|
{% if config.signup_allowed %}
|
2022-11-17 18:16:34 -08:00
|
|
|
{% for field in form %}
|
|
|
|
{% include "forms/_field.html" %}
|
|
|
|
{% endfor %}
|
2022-11-20 15:03:09 -08:00
|
|
|
{% else %}
|
|
|
|
{% if not config.signup_text %}
|
|
|
|
<p>Not accepting new users at this time</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2022-11-17 18:16:34 -08:00
|
|
|
</fieldset>
|
2022-11-20 15:03:09 -08:00
|
|
|
|
|
|
|
{% if config.signup_allowed %}
|
2022-11-17 18:16:34 -08:00
|
|
|
<div class="buttons">
|
|
|
|
<button>Create</button>
|
|
|
|
</div>
|
2022-11-20 15:03:09 -08:00
|
|
|
{% endif %}
|
|
|
|
|
2022-11-17 18:16:34 -08:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|