mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-20 16:53:44 +02:00
24 lines
693 B
Django/Jinja
24 lines
693 B
Django/Jinja
{% extends "base.jinja" %}
|
|
|
|
|
|
|
|
{% block mainpage %}
|
|
<h1>{{ _("Login") }}</h1>
|
|
|
|
{% if next %}
|
|
<div class="alert alert-info">
|
|
{% trans %}You need to log in before you can access <code>{{ next }}</code>.{% endtrans %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<form method="post" class="form">
|
|
{% csrf_token %}
|
|
{{ bootstrap_form(form) }}
|
|
<div class="password-reset-link">
|
|
<a href="{{ url("password_reset") }}">{% trans %}Forgotten your password or username?{% endtrans %} </a>
|
|
</div>
|
|
<button type="submit" class="btn btn-lg btn-primary btn-block">
|
|
{{ _("Log in") }}
|
|
</button>
|
|
</form>
|
|
{% endblock %}
|