takahe/templates/auth/signup.html

31 lines
931 B
HTML
Raw Normal View History

{% extends "base_plain.html" %}
2022-11-17 18:16:34 -08:00
{% block title %}Create Account{% endblock %}
{% block content %}
<form action="." method="POST">
{% 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 15:03:09 -08:00
{% endif %}
</fieldset>
2022-11-20 15:03:09 -08:00
{% endif %}
2022-11-17 18:16:34 -08:00
</form>
{% endblock %}