{% extends 'base.html' %}

{% block title %}Login - Packs{% endblock %}

{% block content %}
    <h1>Login</h1>
    <form method="post" action="{% url 'profiles:login' %}">
        {% csrf_token %}
        {{ form.as_p }}
        <button type="submit">Log in</button>
    </form>
    <p>No account? <a href="{% url 'profiles:register' %}">Register</a></p>
{% endblock %}