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