20 lines
639 B
HTML
20 lines
639 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Login — Meal Tracker{% endblock %}
|
|
{% block content %}
|
|
<div class="form-card">
|
|
<h2>Log In</h2>
|
|
<form method="POST">
|
|
<label for="username">Username</label>
|
|
<input type="text" id="username" name="username" required autofocus>
|
|
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" required>
|
|
|
|
<button type="submit" class="btn btn-primary">Log In</button>
|
|
</form>
|
|
<p class="form-footer">
|
|
Don't have an account? <a href="{{ url_for('auth.register') }}">Register</a>
|
|
</p>
|
|
</div>
|
|
{% endblock %}
|