{% extends "member/Base.html" %}

{% load url from future %}
{% load i18n %}

{% block title %}{% trans "Sign up" %}{% endblock %}

{% block body %}

    <form method="post" action="{% url "account_signup" %}" autocapitalize="off" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
        <legend>{% trans "Sign up" %}</legend>
        {% csrf_token %}
        {{ form }}
        {% if redirect_field_value %}
            <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
        {% endif %}
        <button type="submit">{% trans "Sign up" %}</button>
    </form>
    
    {% trans "Already have an account?" %}  <a href="{% url 'account_login' %}">{% trans "Log in" %}</a>

{% endblock %}

