Commit 0c3045a0 by Julien Jorry

Ajout de la description pour un presta

parent 6d88c9e1
...@@ -66,6 +66,10 @@ class PrestataireInfosFormType extends AbstractType ...@@ -66,6 +66,10 @@ class PrestataireInfosFormType extends AbstractType
'label' => 'Métier responsable :', 'label' => 'Métier responsable :',
'required' => true 'required' => true
)) ))
->add('description', TextType::class, array(
'label' => 'Description :',
'required' => true
))
->add('groupe', ChoiceType::class, array( ->add('groupe', ChoiceType::class, array(
'required' => true, 'required' => true,
'disabled' => true, 'disabled' => true,
......
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
{{ form_row(form.iban) }} {{ form_row(form.iban) }}
{{ form_row(form.responsable) }} {{ form_row(form.responsable) }}
{{ form_row(form.metier) }} {{ form_row(form.metier) }}
{{ form_row(form.metier) }}
{{ form_row(form.description) }}
{{ form_row(form.rubriques) }} {{ form_row(form.rubriques) }}
{{ form_row(form.geoloc) }} {{ form_row(form.geoloc) }}
{{ form_row(form.save) }} {{ form_row(form.save) }}
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div class='card'> <div class='card'>
<div class="card-header"><h2>{{presta.raison}}</h2></div> <div class="card-header"><h2>{{presta.raison}}</h2></div>
<div class="card-body"> <div class="card-body">
<h4 class="card-title">{{presta.statut}} - {{presta.siret}}</h4> <h4 class="card-title">{{presta.statut}}</h4>
<h6 class="card-title">{{ 'Responsable'|trans }} : {{presta.responsable}} ({{presta.metier}})</h6> <h6 class="card-title">{{ 'Responsable'|trans }} : {{presta.responsable}} ({{presta.metier}})</h6>
<div class="card-text"> <div class="card-text">
{% if presta.media %} {% if presta.media %}
......
Markdown is supported
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