auth-server/templates/login_form.html.tera

27 lines
940 B
Plaintext

{% extends "base" %}
{% block content %}
<h1>Login</h1>
<form action="/login" method="POST">
{% if message %}
<strong>{{ message }}</strong>
{% endif %}
<fieldset>
<legend>Login</legend>
<div class="form-group">
<label for="username">Username:</label>
<input type="text" name="username">
<label for="username"><abbr title="required" aria-label="required">*</abbr></label>
</div>
<div class="form-group">
<label for="password">Username:</label>
<input type="password" name="password">
<label for="password"><abbr title="required" aria-label="required">*</abbr></label>
</div>
<div class="form-group">
<button type="submit">Login</button>
</div>
</fieldset>
</form>
{% endblock content %}