mirror of
https://github.com/TheThomaas/my-online-cookbook.git
synced 2026-01-10 20:01:47 +00:00
Make some fields optional
This commit is contained in:
parent
8cadeaf564
commit
48296246c5
|
|
@ -15,12 +15,13 @@ collections:
|
|||
- label: "Tags"
|
||||
name: "tags"
|
||||
widget: "list"
|
||||
required: false
|
||||
summary: "{{fields.tag}}"
|
||||
field: {label: "Tag", name: "tag", widget: string}
|
||||
- {label: "Preparation time", name: "time", widget: "string"}
|
||||
- {label: "Number of servings", name: "servings", widget: "number"}
|
||||
- {label: "Source of the recipe", name: "sourceLabel", widget: "string"}
|
||||
- {label: "URL of the source of the recipe", name: "sourceURL", widget: "string"}
|
||||
- {label: "Preparation time", name: "time", widget: "string", required: false}
|
||||
- {label: "Number of servings", name: "servings", widget: "number", required: false}
|
||||
- {label: "Source of the recipe", name: "sourceLabel", widget: "string", required: false}
|
||||
- {label: "URL of the source of the recipe", name: "sourceURL", widget: "string", required: false}
|
||||
- label: "Ingredients"
|
||||
name: "ingredients"
|
||||
widget: "list"
|
||||
|
|
|
|||
Loading…
Reference in a new issue