{% extends "layout/main.html" %}

{% block content %}
{% if login_error %}
<div class="alert alert-danger alert-dismissible" role="alert">
    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
    {{ login_error }}
</div>
{% endif %}

<form class="form-horizontal" method="post">
    {{ csrf_token|safe }}
    <div class="form-group">
        <label class="col-md-2 col-md-offset-3 control-label" for="username-box">Username</label>
    