{% extends 'applipizza/base.html' %} {% load static %} {% block title %} Lasri Del Arte - Ajouter un ingrédient {% endblock %} {% block content %}
{% if status %} {% if status == 'success' %}
×

Enregistré ! L'ingrédient {{ nomIngredient }} a bien été ajouté.

{% endif %} {% if status == 'error' %}
×

Erreur ! L'ingrédient n'a pas pu être ajouté.

{% endif %} {% endif %}

Ajouter un ingrédient

Renseigner le nom de l'ingrédient à ajouter.

{% csrf_token %} {% for field in form %} {% if field.errors %}
{{ field }} {% for error in field.errors %} {{ error }} {% endfor %}
{% else %}
{{ field }}
{% endif %} {% endfor %}
{% endblock %} {% block javascripts %} {% endblock %}