{% extends 'layouts/base.html' %} {% block title %} Go - Signup {% endblock %} {% block content %}
{% if not registered %}

In order to succesfully provide this service, users must be manually approved. This prevents misuse of the URL shortener. Please indicate below if you are interested.

{% csrf_token %}
{% if form.non_field_errors %}
{% for error in form.non_field_errors %} {{ error }}

{% endfor %}
{% endif %} {% if form.username.errors %}
{% else %}
{% endif %}
{{ form.username }} {% for error in form.username.errors %} {{error}} {% endfor %}
{% if form.full_name.errors %}
{% else %}
{% endif %}
{{ form.full_name }} {% for error in form.full_name.errors %} {{error}} {% endfor %}
{% if form.description.errors %}
{% else %}
{% endif %}
{{ form.description }} {% for error in form.description.errors %} {{error}} {% endfor %}
{% else %} {% if not approved %}

You have already submitted a request for approval to use Go.

{% else %}

You are already approved to use Go.

{% endif %} {% endif %}
{% endblock %}