{% extends 'theme-6.html.twig' %} {# Title #} {% block title %}{% endblock %} {# CSS #} {% block stylesheets %}{% endblock %} {% block row %} {% if form.success is defined %}
{{ form.success.vars.label }}
{% endif %}

Mettre à jour les images à partir de la Faktory 

{{ form_errors(form) }}

FAKTORY

{% if not form.projet.rendered %} {# start: projet #}
{{ form_label(form.projet, null, {'label_attr': {'class': 'col-md-3 control-label'}}) }} {{ form_errors(form.projet) }}
{{ form_widget(form.projet, {'attr': {'class': 'form-control'}}) }}
{# end: projet #} {% endif %} {% if not form.episodeFaktory.rendered %} {# start: episodeFaktory #}
{{ form_label(form.episodeFaktory, null, {'label_attr': {'class': 'col-md-3 control-label'}}) }} {{ form_errors(form.episodeFaktory) }}
{{ form_widget(form.episodeFaktory, {'attr': {'class': 'form-control'}}) }}
{# end: episodeFaktory #} {% endif %}

APPLICATION

{% if not form.album.rendered %} {# start: album #}
{{ form_label(form.album, null, {'label_attr': {'class': 'col-md-3 control-label'}}) }} {{ form_errors(form.album) }}
{{ form_widget(form.album, {'attr': {'class': 'form-control'}}) }}
{# end: album #} {% endif %} {% if not form.episode.rendered %} {# start: episode #}
{{ form_label(form.episode, null, {'label_attr': {'class': 'col-md-3 control-label'}}) }} {{ form_errors(form.episode) }}
{{ form_widget(form.episode, {'attr': {'class': 'form-control'}}) }}
{# end: episode #} {% endif %} {# start: Footer> #} {% block formFooter %} {% if not form.save.rendered %}
{{ form_widget(form.save, { 'label': 'Envoyer les images sur l\'application', 'attr': {'class': 'btn-primary btnSubmit'} }) }}
{% endif %} {% endblock %} {# end: Footer #}
{% endblock %} {% block javascripts %} {% endblock %}