Newer
Older
activity-manager / templates / _includes / html / form / project / add.html.twig
{{ form_start(form, {attr: {class: 'ajax-form'}}) }}
<div>
	{{ form_label(form.name, 'Nom', {label_attr: {class: 'input-text-label'}}) }}
	{{ form_widget(form.name, {attr: {class: 'w-100'}}) }}
</div>
{{ form_widget(form.submit, {attr: {class: 'w-100'}, label: 'Nouveau projet'}) }}
<p class="form-error"></p>
<p class="form-message"></p>
{{ form_end(form) }}