rowt/templates/auth/login.html.tera
2023-04-03 16:11:26 +02:00

27 lines
749 B
Plaintext

{% if flash %}
{% if flash.0 == "success" %}
<div class="row">
<div class="one-column p-1 text-white bg-green mb-3 light text-center">
{{ flash.1 }}
</div>
</div>
{% endif %}
{% if flash.0 == "error" %}
<div class="row">
<div class="one-column p-1 text-white bg-red mb-3 bold text-center">
{{ flash.1 }}
</div>
</div>
{% endif %}
{% endif %}
<form method="post" action="/auth">
<label for="name">Name</label>
<input type="text" id="name" name="name" />
<label for="password">Passwort</label>
<input type="password" id="password" name="password" />
<button type="submit">Login</button>
</form>