{% import '_includes/macros/status.html.twig' as statusTools %}

{{ form_start(form, {attr: {class: 'ajax-form'}}) }}
<div class="row">
	<div class="col-6">
		<div>
			{{ form_label(form.name, 'Nom', {label_attr: {class: 'input-text-label'}}) }}
			{{ form_widget(form.name, {attr: {class: 'w-100'}}) }}
		</div>
		<div>
			{{ form_label(form.status, 'Status', {label_attr: {class: 'input-text-label'}}) }}
			{{ form_widget(form.status, {attr: {class: 'w-100'}}) }}
		</div>
		<div>
			{{ form_label(form.actor, 'Acteur', {label_attr: {class: 'input-text-label'}}) }}
			{{ form_widget(form.actor, {attr: {class: 'w-100'}}) }}
		</div>
	</div>
	<div class="col-6">
		<div>
			{{ form_label(form.planifiedDate, 'Planifié', {label_attr: {class: 'input-text-label'}}) }}
			{{ form_widget(form.planifiedDate, {attr: {class: 'w-100'}}) }}
		</div>
		<div>
			{{ form_label(form.executionDate, 'Executé', {label_attr: {class: 'input-text-label'}}) }}
			{{ form_widget(form.executionDate, {attr: {class: 'w-100'}}) }}
		</div>
	</div>
</div>
<p class="form-error"></p>
<p class="form-message"></p>
{{ form_widget(form.submit, {attr: {class: 'w-100'}, label: 'Enregistrer'}) }}
{{ form_end(form) }}