summaryrefslogtreecommitdiffstats
path: root/templates/auth/signup.html
blob: 7924c0ae43ff93de721cdd2bfb9e8871f3067aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% 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 %}