This commit is contained in:
Unknown
2018-02-01 15:05:53 +01:00
parent 1476a88d88
commit 4d3e8e6b53
11 changed files with 244 additions and 117 deletions

View File

@@ -1,17 +1,18 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}Neue Kategorie{% endblock %}
{% block title %}{% trans 'New Category' %}{% endblock %}
{% block content %}
<h3>
Neue Kategorie
<small class="text-muted">Neue Kategorie für ein Rezept</small>
{% trans 'New Category' %}
<small class="text-muted">{% trans 'New recipe Category' %}</small>
</h3>
<form method="POST" class="post-form">{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="save btn btn-default">Save</button>
{% crispy form %}
</form>
{% endblock %}