mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-29 16:40:28 +00:00
30 lines
839 B
HTML
30 lines
839 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Create Account{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="." method="POST">
|
|
{% csrf_token %}
|
|
<fieldset>
|
|
<legend>Create An Account</legend>
|
|
{% if config.signup_text %}{{ config.signup_text|safe|linebreaks }}{% endif %}
|
|
{% if config.signup_allowed %}
|
|
{% for field in form %}
|
|
{% include "forms/_field.html" %}
|
|
{% endfor %}
|
|
{% else %}
|
|
{% if not config.signup_text %}
|
|
<p>Not accepting new users at this time</p>
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
</fieldset>
|
|
|
|
{% if config.signup_allowed %}
|
|
<div class="buttons">
|
|
<button>Create</button>
|
|
</div>
|
|
{% endif %}
|
|
|
|
</form>
|
|
{% endblock %}
|