meal plan entry view

This commit is contained in:
vabene1111
2020-05-08 00:10:23 +02:00
parent 2e23fcfd5d
commit 123dc1a74d
10 changed files with 140 additions and 33 deletions

View File

@ -92,7 +92,7 @@ class InternalRecipeForm(forms.ModelForm):
}
widgets = {'keywords': MultiSelectWidget}
help_texts = {
'instructions': _('You can use markdown to format the instructions. See the <a href="/docs/markdown/">docs here</a>')
'instructions': _('You can use markdown to format this field. See the <a href="/docs/markdown/">docs here</a>')
}
@ -264,4 +264,9 @@ class MealPlanForm(forms.ModelForm):
model = MealPlan
fields = ('recipe', 'title', 'meal', 'note', 'date', 'shared')
help_texts = {
'shared': _('You can list default users to share recipes with in the settings.'),
'note': _('You can use markdown to format this field. See the <a href="/docs/markdown/">docs here</a>')
}
widgets = {'recipe': SelectWidget, 'date': DateWidget, 'shared': MultiSelectWidget}