friendsmap/map/templates/registration/login.html

15 lines
503 B
HTML

{% extends 'map/base.html' %}
{% load crispy_forms_tags %}
{% block h1 %}Login{% endblock %}
{% block content %}
<p>Please authenticate before accessing the map.</p>
<form method="post">
{% csrf_token %}
{{ form|crispy }}
<button type="submit" class="btn btn-primary"><i class="fas fa-sign-in-alt"></i> Login</button>
<a href="{% url 'signup' %}" class="btn btn-secondary"><i class="fas fa-user-plus"></i> I don't have an account</a>
</form>
{% endblock %}