{% extends 'base.html.twig' %} {% block title %}Créer une Annonce{% endblock %} {% block body %}

Créer une Annonce

{{ form_start(form) }}
{{ form_label(form.title) }} {{ form_widget(form.title, {'attr': {'class': 'form-input w-full p-2 rounded border'}}) }}
{{ form_label(form.description) }} {{ form_widget(form.description, {'attr': {'class': 'form-input w-full p-2 rounded border'}}) }}
{{ form_label(form.date) }} {{ form_widget(form.date, {'attr': {'class': 'form-input w-full p-2 rounded border'}}) }}
{{ form_label(form.company) }} {{ form_widget(form.company, {'attr': {'class': 'form-input w-full p-2 rounded border'}}) }}
{{ form_end(form) }}
{% endblock %}