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