takahe/templates/auth/signup.html

31 lines
839 B
HTML
Raw Normal View History

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-11-20 23:03:09 +00:00
{% if config.signup_text %}{{ config.signup_text|safe|linebreaks }}{% endif %}
{% 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 %}