42 lines
No EOL
1.2 KiB
HTML
42 lines
No EOL
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Sign In - Flask Files{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="auth-container">
|
|
<h2>Sign In</h2>
|
|
|
|
<form method="POST" action="{{ url_for('auth.login') }}" class="auth-form">
|
|
{{ form.hidden_tag() }}
|
|
|
|
<div class="form-group">
|
|
{{ form.username.label }}
|
|
{{ form.username(size=32, class="form-control") }}
|
|
{% for error in form.username.errors %}
|
|
<span class="error">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{{ form.password.label }}
|
|
{{ form.password(size=32, class="form-control") }}
|
|
{% for error in form.password.errors %}
|
|
<span class="error">{{ error }}</span>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div class="form-group checkbox">
|
|
{{ form.remember_me() }}
|
|
{{ form.remember_me.label }}
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
{{ form.submit(class="btn primary") }}
|
|
</div>
|
|
</form>
|
|
|
|
<div class="auth-links">
|
|
<p>Don't have an account? <a href="{{ url_for('auth.register') }}">Register here</a></p>
|
|
</div>
|
|
</section>
|
|
{% endblock %} |