edit recipe

This commit is contained in:
vabene1111
2018-02-08 23:18:56 +01:00
parent deb505d740
commit c73dcb3998
8 changed files with 175 additions and 134 deletions

View File

@@ -0,0 +1,22 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% load django_tables2 %}
{% block title %}{% trans 'New Category' %}{% endblock %}
{% block content %}
<h3>
{% trans 'New Category' %}
<small class="text-muted">{% trans 'New recipe Category' %}</small>
</h3>
<form method="POST" class="post-form">{% csrf_token %}
{% crispy form %}
</form>
{% if table %}
{% render_table table %}
{% endif %}
{% endblock %}