{% extends "base.html" %}

{% block title %}
    Create User
{% endblock %}

{% block content %}

     <div class="login">

         {% if messages %}
            <p>
                {% for message in messages %}
                <span class="primary label">{{ message }}</span>
                {% endfor %}
            </p>
        {% endif %}

        <h1>Create account</h1>

         <form method="post" >
             {% csrf_token %}
             <table>
                {{ form.as_table }}
                 <tr>
                    <td></td>
                    <td><input type="submit" name="submit" value="Register" /></td>
                </tr>
             </table>
         </form>
     </div>

{% endblock %}
