Module Recettes : on avance... un peu...

This commit is contained in:
2021-04-29 19:05:43 +02:00
parent 8ccce53560
commit 30a5848cf9
12 changed files with 105 additions and 36 deletions

View File

@@ -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
]
);
}