Skip to content
Snippets Groups Projects
Commit acbbf0ee authored by GOEPP CLARA's avatar GOEPP CLARA
Browse files

form ville

parent 27ce2dc4
Branches
No related merge requests found
{{ form_start(form) }}
{{ form_widget(form) }}
<button class="btn">{{ button_label|default('Save') }}</button>
{{ form_end(form) }}
<div class="bg-[#326273] flex justify-between">
{{ form_start(form) }}
<div class="flex flex-col gap-6 mt-2 ml-72">
<div class="">
{{ form_label(form.nom, 'Titre de la salle :', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.nom, {'attr': {'class': 'form-input mt-1 block w-full rounded-3xl'}}) }}
</div>
<div class="mb-4">
{{ form_label(form.description, 'Description:', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.description, {'attr': {'class': 'form-input mt-1 block w-full rounded-3xl p-2'}}) }}
</div>
<div class="mb-4">
{{ form_label(form.positionGPS, 'Position GPS de la salle:', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.positionGPS, {'attr': {'class': 'form-input mt-1 block w-full rounded-3xl p-2'}}) }}
</div>
<div class="mb-4">
{{ form_label(form.img, 'URL Image:', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.img, {'attr': {'class': 'form-input mt-1 block w-full rounded-3xl'}}) }}
</div>
<div class="mb-4">
{{ form_label(form.alt, 'Alt Text:', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.alt, {'attr': {'class': 'form-input mt-1 block w-full rounded-3xl'}}) }}
</div>
<div class="mb-4">
{{ form_label(form.parcours, 'chemin du centre ville jusqu\'a la salle:', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.parcours, {'attr': {'class': 'form-input mt-1 block w-full rounded-3xl p-3 bg-[#EEEEEE]'}}) }}
</div>
<div class="mb-4">
{{ form_label(form.ville, 'ville:', {'label_attr': {'class': 'block text-[#EEEEEE] font-bold mb-2'}}) }}
{{ form_widget(form.ville, {'attr': {'class': 'form-select mt-1 block w-full rounded-3xl p-2'}}) }}
</div>
<div class="flex items-center justify-end mt-4">
<button class="bg-[#EEEEEE] hover:bg-[#5C9EAD] hover:text-[#EEEEEE] text-[#5C9EAD] font-bold py-2 px-4 rounded">
{{ button_label|default('Save') }}
</button>
</div>
</div>
{{ form_end(form) }}
</div>
<script defer src="{{ asset('js/form_update.js') }}"></script>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment