Self hosted FLOSS fitness/workout, nutrition and weight tracker
Set correct titles on the edit forms
Roland Geider82c75ac4a5b6
diff --git a/nutrition/templates/edit_ingredient.html b/nutrition/templates/edit_ingredient.htmlindex cb007db3c..46c993158 100644--- a/nutrition/templates/edit_ingredient.html+++ b/nutrition/templates/edit_ingredient.html@@ -2,12 +2,12 @@{% load i18n %}{% load staticfiles %}-{% block title %}{% trans "Edit meal" %}{% endblock %}+{% block title %}{% trans "Edit ingredient" %}{% endblock %}{% block content %}-<h2>{% trans "Edit meal" %}</h2>+<h2>{% trans "Edit ingredient" %}</h2><form action="{% url nutrition.views.ingredient_edit ingredient.id %}"method="post"diff --git a/nutrition/templates/edit_meal_item.html b/nutrition/templates/edit_meal_item.htmlindex 891d092ab..d655a40f9 100644--- a/nutrition/templates/edit_meal_item.html+++ b/nutrition/templates/edit_meal_item.html@@ -2,7 +2,7 @@{% load i18n %}{% load staticfiles %}-{% block title %}{% trans "Edit meal" %}{% endblock %}+{% block title %}{% trans "Edit meal item" %}{% endblock %}{% block header %}@@ -21,7 +21,7 @@ $(document).ready(function() {{% block content %}-<h2>{% trans "Edit meal" %}</h2>+<h2>{% trans "Edit meal item" %}</h2><form action="{% url nutrition.views.edit_meal_item plan.id meal.id meal_item.id%}{% if js_active %}?js=on{% endif %}"method="post"diff --git a/nutrition/templates/edit_plan.html b/nutrition/templates/edit_plan.htmlindex edf41a2b6..02cd76709 100644--- a/nutrition/templates/edit_plan.html+++ b/nutrition/templates/edit_plan.html@@ -2,12 +2,12 @@{% load i18n %}{% load staticfiles %}-{% block title %}{% trans "Edit meal" %}{% endblock %}+{% block title %}{% trans "Edit nutritional plan" %}{% endblock %}{% block content %}-<h2>{% trans "Edit meal" %}</h2>+<h2>{% trans "Edit nutritional plan" %}</h2><form action="{% url nutrition.views.edit_plan plan.id %}"method="post"