{% extends 'base.html.twig' %} {% block body %} {{ form_start(form) }} {% if not inframe %}

{% if mode=="update" %} Modification Icône {% elseif mode=="submit" %} Création Icône {% endif %}

{%endif%} {{ form_widget(form.submit) }} Annuler {% if mode=="update" and not issystem %} Supprimer {% endif %}

{% if app.session.flashbag.has('error') %}
Erreur
{% for flashMessage in app.session.flashbag.get('error') %} {{ flashMessage }}
{% endfor %}
{% endif %} {% if app.session.flashbag.has('notice') %}
Information
{% for flashMessage in app.session.flashbag.get('notice') %} {{ flashMessage }}
{% endfor %}
{% endif %}
Informations
{{ form_widget(form.label) }} {% if mode=="submit" or not issystem %} Modifier {%endif%}
{% if mode=="submit" or not issystem %}
Privilégiez des images carrées de minimum 90px par 90px et avec un fond transparent
{%endif%} {{ form_row(form.tags) }}
{% if auditUse and mode=="update" and (access=="admin" or access=="modo" or access=="audit") %}
{{ render(path("app_"~access~"_audit_renderid",{entityname:"Icon",entityid:icon.id})) }}
{% endif %} {{ form_end(form) }} {% endblock %}