2015-08-02 18:59:11 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="well col-sm-6 col-sm-offset-2">
|
2016-11-09 18:24:33 +00:00
|
|
|
<h2 style="margin-top: 0">{{_('Login')}}</h2>
|
2015-08-02 18:59:11 +00:00
|
|
|
<form method="POST" role="form">
|
|
|
|
<div class="form-group">
|
2016-11-09 18:24:33 +00:00
|
|
|
<label for="username">{{_('Username')}}</label>
|
|
|
|
<input type="text" class="form-control" id="username" name="username" placeholder="{{_('Username')}}">
|
2015-08-02 18:59:11 +00:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2016-11-09 18:24:33 +00:00
|
|
|
<label for="password">{{_('Password')}}</label>
|
|
|
|
<input type="password" class="form-control" id="password" name="password" placeholder="{{_('Password')}}">
|
2015-08-02 18:59:11 +00:00
|
|
|
</div>
|
|
|
|
<div class="checkbox">
|
|
|
|
<label>
|
2016-11-09 18:24:33 +00:00
|
|
|
<input type="checkbox" name="remember_me" checked> {{_('Remember me')}}
|
2015-08-02 18:59:11 +00:00
|
|
|
</label>
|
|
|
|
</div>
|
2017-02-15 17:09:17 +00:00
|
|
|
<button type="submit" name="submit" class="btn btn-default">{{_('Submit')}}</button>
|
2015-08-02 18:59:11 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{% if error %}
|
|
|
|
<div class="col-sm-6 col-sm-offset-2">
|
|
|
|
<div class="alert alert-danger">{{error}}</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|