Files
math-website/templates/signin.html
T

26 lines
960 B
HTML

{% extends 'base.html' %}
{% block content %}
<h1 style="text-decoration: underline;"> Sign in to your account</h1>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul class="flash-messages">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
<form action="{{ url_for('signin') }}" method="POST" class="signup">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required><br><br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required><br><br>
<button type="submit" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px; margin-bottom: 20px;">Sign In</button>
<p>Don't have an account? <a href="{{ url_for('signup') }}">Create one</a></p>
</form>
{% endblock %}