Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
43978a3f
Commit
43978a3f
authored
Sep 19, 2018
by
Mat
Browse files
désactive l'édition des champs du formulaire
parent
3a5f04a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PotageBundle/Form/Membre/CommandeLegumesType.php
View file @
43978a3f
...
...
@@ -25,10 +25,12 @@ class CommandeLegumesType extends AbstractType
*/
->
add
(
'quantite'
,
NumberType
::
class
,
array
(
'scale'
=>
3
,
//décimales
'disabled'
=>
true
,
))
->
add
(
'prix'
,
MoneyType
::
class
,
array
(
'currency'
=>
'EUR'
,
'scale'
=>
2
'scale'
=>
2
,
'disabled'
=>
true
,
))
;
}
...
...
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