ldap-frontend/ldap_frontend/templates/login.html

22 lines
1.1 KiB
HTML

{% extends "layout/default.html" %}
{% block title %}{% trans %}Login{% endtrans %}{% endblock %}
{% block content %}
<form action="{{ url_for("login") }}" method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<fieldset>
<legend>{% trans %}Login{% endtrans %}</legend>
<div class="mb-3">
<label for="username" class="form-label">{% trans %}Username{% endtrans %}</label>
<input type="text" name="username" id="username" required class="form-control">
</div>
<div class="mb-3">
<label for="password" class="form-label">{% trans %}Password{% endtrans %}</label>
<input type="password" name="password" id="password" required class="form-control">
</div>
<input type="submit" value="{% trans %}Login{% endtrans %}" class="btn btn-primary mb-3">
</fieldset>
</form>
{% endblock %}