{% extends "base.jinja2" %}

{% block title %} MED: {{ name }} {% endblock %}

{% block head %}
{{ super() }}
{% endblock %}

{% block body %}
{% include "header.jinja2" %}

<section class="mfws">
    <form action="{{ form_action }}" method="post">

        <div class="col-xs-12">
            <div class="col-xs-12">
                <h2>Please sign in</h2>
            </div>
        </div>

        <div class="col-xs-12">
            <div class="col-xs-12">
                <input type="text" name="username" placeholder="Username" class="form-control" />
            </div>
        </div>

        <div class="col-xs-12">
            <div class="col-xs-12">
                <input type="password" name="password" placeholder="Password" class="form-control" />
            </div>
        </div>

        <div class="col-xs-12" style="margin: 10px 0;">
            <div class="col-xs-12">
                <button type="submit" class="btn btn-primary">Submit</button>
                <a href="{{ cancel }}" class="btn btn-danger">Cancel</a>
            </div>
        </div>

        <div class="col-xs-12" style="margin: 10px 0;">
            <div class="col-xs-12">
                <span>Please enter your username and password.</span>
            </div>
        </div>

    </form>

</section>

{% include "footer.jinja2" %}
{% endblock %}
