{% extends "food_planner/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block title %}{{ site.title }} - {% trans "Register" %}{% endblock %}

{% block content %}
    <h1>{% trans "Register a new user" %}</h1>

    <form method="post" action="{% url "register" %}">
        {% csrf_token %}
        {{ user_form|crispy }}
        {{ profile_form|crispy }}
        <button type="submit" class="btn btn-primary">{% trans "Register" %}</button>
    </form>
{% endblock %}
