mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-08 23:58:15 -05:00
forms
This commit is contained in:
@@ -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 %}
|
||||
Reference in New Issue
Block a user