2022-11-18 02:16:34 +00: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-18 00:02:42 +00:00
|
|
|
{% if signup_text %}{{ signup_text }}{% endif %}
|
2022-11-20 23:03:09 +00:00
|
|
|
{% if config.signup_allowed %}
|
2022-11-18 02:16:34 +00:00
|
|
|
{% for field in form %}
|
|
|
|
{% include "forms/_field.html" %}
|
|
|
|
{% endfor %}
|
2022-11-20 23:03:09 +00:00
|
|
|
{% else %}
|
|
|
|
{% if not config.signup_text %}
|
|
|
|
<p>Not accepting new users at this time</p>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
2022-11-18 02:16:34 +00:00
|
|
|
</fieldset>
|
2022-11-20 23:03:09 +00:00
|
|
|
|
|
|
|
{% if config.signup_allowed %}
|
2022-11-18 02:16:34 +00:00
|
|
|
<div class="buttons">
|
|
|
|
<button>Create</button>
|
|
|
|
</div>
|
2022-11-20 23:03:09 +00:00
|
|
|
{% endif %}
|
|
|
|
|
2022-11-18 02:16:34 +00:00
|
|
|
</form>
|
|
|
|
{% endblock %}
|