Files
BellScheduler/app/templates/login.html
William Peebles ddc90da012
All checks were successful
continuous-integration/drone/push Build is passing
Add "remember me" option to login
2022-11-29 20:55:32 -05:00

29 lines
663 B
HTML

{% extends "base.html" %}
{% block content %}
<span><h1>{% block title %} Login {% endblock %}</h1></span>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="notification is-danger">
{{ messages[0] }}
</div>
{% endif %}
{% endwith %}
<form method="post">
{{ form.csrf_token }}
<p>
{{ form.userName.label }}
{{ form.userName }}
</p>
<p>
{{ form.password.label }}
{{ form.password }}
</p>
<p>
{{ form.rememberMe.label}} {{ form.rememberMe }}
</p>
<p>
<button class="btn btn-primary" type="submit">Submit</button>
</p>
</form>
{% endblock %}