Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cooperatic-mlc
kohinos
Commits
0c3045a0
Commit
0c3045a0
authored
5 years ago
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout de la description pour un presta
parent
6d88c9e1
master
…
dev
update-from-kohinos-repo
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
PrestataireInfosFormType.php
src/Form/Type/PrestataireInfosFormType.php
+4
-0
infos.html.twig
templates/presta/block/infos.html.twig
+2
-0
liste_prestataires.html.twig
templates/presta/liste_prestataires.html.twig
+1
-1
No files found.
src/Form/Type/PrestataireInfosFormType.php
View file @
0c3045a0
...
...
@@ -66,6 +66,10 @@ class PrestataireInfosFormType extends AbstractType
'label'
=>
'Métier responsable :'
,
'required'
=>
true
))
->
add
(
'description'
,
TextType
::
class
,
array
(
'label'
=>
'Description :'
,
'required'
=>
true
))
->
add
(
'groupe'
,
ChoiceType
::
class
,
array
(
'required'
=>
true
,
'disabled'
=>
true
,
...
...
This diff is collapsed.
Click to expand it.
templates/presta/block/infos.html.twig
View file @
0c3045a0
...
...
@@ -15,6 +15,8 @@
{{
form_row
(
form.iban
)
}}
{{
form_row
(
form.responsable
)
}}
{{
form_row
(
form.metier
)
}}
{{
form_row
(
form.metier
)
}}
{{
form_row
(
form.description
)
}}
{{
form_row
(
form.rubriques
)
}}
{{
form_row
(
form.geoloc
)
}}
{{
form_row
(
form.save
)
}}
...
...
This diff is collapsed.
Click to expand it.
templates/presta/liste_prestataires.html.twig
View file @
0c3045a0
...
...
@@ -9,7 +9,7 @@
<div
class=
'card'
>
<div
class=
"card-header"
><h2>
{{
presta.raison
}}
</h2></div>
<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>
<div
class=
"card-text"
>
{%
if
presta.media
%}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment