34 lines
662 B
HTML
34 lines
662 B
HTML
{% extends '_base.html' %}
|
|
{% import "bootstrap/wtf.html" as wtf %}
|
|
|
|
{% block content %}
|
|
|
|
<header class="content-header">
|
|
<h1>Please login</h1>
|
|
</header>
|
|
|
|
<br>
|
|
|
|
|
|
<form class="form" role="form" method="post" action="">
|
|
|
|
{{ form.csrf_token }}
|
|
{{ form.hidden_tag() }}
|
|
{{ wtf.form_errors(form, hiddens="only") }}
|
|
|
|
|
|
<div class="col-lg-4 col-sm-4">
|
|
|
|
{{ wtf.form_field(form.email) }}
|
|
{{ wtf.form_field(form.password) }}
|
|
|
|
<button class="btn btn-success" type="submit">Sign In!</button>
|
|
<br><br>
|
|
<p>Need to <a href="{{ url_for('user.register') }}">Register</a>?</p>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
{% endblock content %}
|