Module Recettes : on avance... un peu...
This commit is contained in:
@@ -53,6 +53,17 @@ class RecetteCreateForm extends BaseForm
|
||||
"required" => true
|
||||
]
|
||||
)
|
||||
->add(
|
||||
"summary",
|
||||
"textarea",
|
||||
[
|
||||
"label" => $this->trans("Summary"),
|
||||
"label_attr" => [
|
||||
"for" => "summary"
|
||||
],
|
||||
"required" => false
|
||||
]
|
||||
)
|
||||
->add(
|
||||
"difficulty",
|
||||
"integer",
|
||||
@@ -106,13 +117,15 @@ class RecetteCreateForm extends BaseForm
|
||||
]
|
||||
)
|
||||
->add(
|
||||
"steps",
|
||||
"other_ingredients",
|
||||
"textarea",
|
||||
[
|
||||
"label" => $this->trans("Steps"),
|
||||
"label" => $this->trans("Other ingredients"),
|
||||
"label_attr" => [
|
||||
"for" => "steps"
|
||||
"for" => "other_ingredients"
|
||||
]
|
||||
,
|
||||
"required" => false
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user