added title field and custom validation

This commit is contained in:
vabene1111
2020-05-02 14:53:09 +02:00
parent fd4354f16d
commit e9da17151a
4 changed files with 24 additions and 12 deletions

View File

@@ -77,7 +77,7 @@
{% for mp in days_value %}
<a href="{% url 'edit_meal_plan' mp.pk %}"><i class="fas fa-edit"></i></a>
{% if mp.recipe %}
<a href="{% url 'view_recipe' mp.recipe.id %}">{{ mp.recipe.name }}</a><br/>
<a href="{% url 'view_recipe' mp.recipe.id %}">{{ mp }}</a><br/>
{% endif %}
<span>{{ mp.note_head }}</span>
{% endfor %}