2021-02-27 23:18:27 +01:00
|
|
|
{% extends "account/pre_login_base.html" %}
|
2021-02-27 21:07:48 +01:00
|
|
|
{% load i18n %}
|
|
|
|
{% load static %}
|
|
|
|
|
2021-02-27 23:18:27 +01:00
|
|
|
{% block non_login_content %}
|
2024-01-13 20:07:36 +00:00
|
|
|
<div id="loginbox">
|
|
|
|
<div class="login">
|
|
|
|
{% if form.non_field_errors %}
|
|
|
|
{% for error in form.non_field_errors %}
|
|
|
|
<div class="alert alert-danger" role="alert">
|
|
|
|
{{ error }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2025-01-22 21:26:06 +00:00
|
|
|
<h2>{% trans "Login "%}</h2>
|
2021-02-27 21:07:48 +01:00
|
|
|
|
2024-01-13 20:07:36 +00:00
|
|
|
<form method="post" action="">
|
|
|
|
{% csrf_token %}
|
|
|
|
<div>
|
|
|
|
<label for="id_username"
|
|
|
|
class="visually-hidden">
|
2024-02-29 20:02:39 +00:00
|
|
|
{% trans "Email" %}
|
2024-01-13 20:07:36 +00:00
|
|
|
</label>
|
|
|
|
<input type="text"
|
|
|
|
id="id_username"
|
|
|
|
name="login"
|
|
|
|
class="form-control mb-lg-2"
|
2024-02-29 20:02:39 +00:00
|
|
|
placeholder="{% trans "Email" %}"
|
2024-01-13 20:07:36 +00:00
|
|
|
required
|
|
|
|
autofocus>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<label for="id_password" class="visually-hidden">
|
|
|
|
{% trans "Password" %}
|
|
|
|
</label>
|
|
|
|
<input type="password"
|
|
|
|
id="id_password"
|
|
|
|
name="password"
|
|
|
|
class="form-control mb-lg-2"
|
|
|
|
placeholder="{% trans "Password" %}"
|
|
|
|
required>
|
|
|
|
</div>
|
|
|
|
<div>
|
2024-02-29 20:02:39 +00:00
|
|
|
<button type="submit">{% trans "Login" %}</button>
|
2024-01-13 20:07:36 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<div>
|
2025-01-22 21:26:06 +00:00
|
|
|
<a href="{% url "account_reset_password" %}">
|
2024-01-13 20:07:36 +00:00
|
|
|
{% trans "Forgot password?" %}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="signup">
|
|
|
|
<img src="https://data.coop/static/img/logo_da.svg" alt="data.coop logo">
|
|
|
|
<div class="new_here">
|
2024-02-29 20:02:39 +00:00
|
|
|
<h2>{% trans "Are you new here?" %}</h2>
|
2024-01-13 20:07:36 +00:00
|
|
|
<a class="button" href="{% url "account_signup" %}">{% trans "Become a member" %}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-25 00:16:32 +01:00
|
|
|
</div>
|
2021-02-28 23:03:32 +01:00
|
|
|
{% endblock %}
|