This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/templates/auth/signup.html

31 lines
809 B
HTML
Raw Normal View History

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