zbiorki_app/templates/login.html
2025-03-08 09:22:32 +01:00

20 lines
773 B
HTML

{% extends 'base.html' %}
{% block title %}Logowanie{% endblock %}
{% block content %}
<div class="container my-4">
<h3 class="mb-4">Logowanie</h3>
<form method="post">
<div class="mb-3">
<label for="username" class="form-label">Nazwa użytkownika</label>
<input type="text" class="form-control" id="username" name="username" required>
</div>
<div class="mb-3">
<label for="password" class="form-label">Hasło</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<button type="submit" class="btn btn-primary">Zaloguj</button>
</form>
<p class="mt-3">Nie masz konta? <a href="{{ url_for('register') }}">Zarejestruj się</a></p>
</div>
{% endblock %}