summaryrefslogtreecommitdiffstats
path: root/templates/auth/signup.html
blob: 445f610f493ca2a5c49b7c3a6d47cf540b46d20d (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 signup_text %}{{ signup_text }}{% 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 %}