{% extends 'base.html' %}

{% block content %}
<div class="login-form">
 <div class="inner">
    <form class="pure-form pure-form-stacked" action="{{url_for('login')}}" method="POST">
        <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
        <input type="hidden" id="redirect" name="redirect" value="{{ redirect_url }}">
        <fieldset>
            <div class="pure-control-group">
                <label for="password">{{ _('Password') }}</label>
                <input type="password" id="password" required="" name="password" value=""
                       size="15" autofocus />
                <input type="hidden" id="email" name="email" value="defaultuser@changedetection.io" >
            </div>
            <div class="pure-control-group">
                <button type="submit" class="pure-button pure-button-primary">{{ _('Login') }}</button>
            </div>
        </fieldset>
    </form>
  </div>
 </div>

{% endblock %}
