{% extends "base.html" %}

{% block title %}
    Sign-in
{% endblock %}

{% block content %}

     <div class="login">

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

        <h1>Sign in</h1>

         <form method="post" >
             {% csrf_token %}
             <table>
                {{ form.as_p }}
                 <tr>
                    <td></td>
                    <td><button class="primary_button" type="submit" name="submit">Signin</button></td>
                </tr>
             </table>
         </form>
     </div>

{% endblock %}
