detailing
added smooth transition, removed messages on login page, minor detail fixes
This commit is contained in:
@@ -9,13 +9,6 @@
|
||||
<body>
|
||||
<div class="form-container">
|
||||
<h2> Přihlášení </h2>
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
<ul class="flashes">
|
||||
<li class="{{ messages[-1][0] }}">{{ messages[-1][1] }}</li> <!-- Show only the last message -->
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<form method="POST" action="{{ url_for('login') }}">
|
||||
<label for="username">Uživatelské jméno: <span class="required">*</span></label>
|
||||
<input type="text" id="username" name="username" required>
|
||||
|
||||
Reference in New Issue
Block a user