Renamed app and Django template

This commit is contained in:
2020-02-19 10:55:46 +01:00
parent 85d5f0b123
commit 06cd1e4291
31 changed files with 46 additions and 45 deletions

View File

@ -0,0 +1,16 @@
{% 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 %}