{% extends 'admin/layout.html.twig' %} {% block title %}{{ title }} — WTL{% endblock %} {% block admin_body %}

{{ title }}

{% if document is defined %}

Version actuelle : v{{ document.version }}

{% endif %}
Retour
{{ form_start(form) }}
{{ form_row(form.code) }}
{{ form_row(form.type) }}
{{ form_row(form.name) }}
{{ form_row(form.description) }}
{% if form.file is defined %}
{{ form_row(form.file) }}
{% endif %}

Disponibilité par projet

{{ form_row(form.globalAvailability) }}
{{ form_row(form.availableProjects) }}
Par défaut, un document générique est global. Décochez cette option pour limiter sa disponibilité à un ou plusieurs projets.

Droits de consultation

{{ form_row(form.public) }}
{{ form_row(form.press) }}
{{ form_row(form.admin) }}
Les devis, factures et conventions sont obligatoirement Admin uniquement. Cette règle est aussi imposée côté serveur.
Annuler
{{ form_end(form) }}
{% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}