{% extends "registration/login.html" %} {% load i18n %} {% block sub_title %}{% trans "Signup" %} - {% endblock %} {% block extra_style %}{{block.super}} {% endblock %} {% block main_content %}

{% trans "Signup" %}

{% if request.user.is_authenticated %}

{% trans "Welcome back, you are already signed in." %}

{% else %}
{% csrf_token %} {% if form.name.field.required %} {{ form.name }} {{ form.name.errors }} {% endif %} {{ form.email }} {{ form.email.errors }} {{ form.password1 }} {{ form.password1.errors }}
{{ form.password2 }} {{ form.password2.errors }} {% if form.department.field.required %} {{ form.department }} {{ form.department.errors }} {% endif %} {% if form.telephone.field.required %} {{ form.telephone }} {{ form.telephone.errors }} {% endif %} {% if form.note.field.required %} {{ form.note }} {{ form.note.errors }} {% endif %}

{% endif %}
{% endblock %} {% block extra_script %}{{ block.super }} {% endblock %}