mail-account-admin/templates/login.html.twig

32 lines
870 B
Twig

{% extends "base.html.twig" %}
{% block title %}Login{% endblock %}
{% set main_classes = 'login_page' %}
{% block content %}
<h2>Login</h2>
<form action="/login" method="POST">
{% if error is defined %}
<div class="error_box">{{ error }}</div>
{% endif %}
<table>
<tr>
<td><label for="username">Username</label></td>
<td><input type="text" id="username" name="username"></td>
</tr>
<tr>
<td><label for="password">Password</label></td>
<td><input type="password" id="password" name="password"></td>
</tr>
<tr>
<td></td>
<td>
<button type="submit">Login</button>
</td>
</tr>
</table>
</form>
{% endblock %}