Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use a correct title and header for the preferences page

Roland Geiderf2c80586d4c9
diff --git a/manager/templates/user/preferences.html b/manager/templates/user/preferences.html
index e475fba17..2d09d3b55 100644
--- a/manager/templates/user/preferences.html
+++ b/manager/templates/user/preferences.html
@@ -1,11 +1,13 @@
{% extends "base.html" %}
{% load i18n %}
-{% block title %} {% trans "Login" %}{% endblock %}
+{% block title %}{% trans "Preferences" %}{% endblock %}
{% block content %}
+<h2>{% trans "Preferences" %}</h2>
+
<form action="{% url manager.views.preferences %}"
method="post"
class="ym-form">
@@ -13,6 +15,7 @@
{{ form.non_field_errors }}
<table>
{% include "form_snippet.html" with field=form.show_comments %}
+{% include "form_snippet.html" with field=form.show_english_ingredients %}
<tr>
<td><input type="submit" value='{% trans "Save" %}' /></td>
<td></td>