Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add some explanation text about how to enter the repetitions
Roland Geider283426a0f8d9
diff --git a/wger/manager/forms.py b/wger/manager/forms.pyindex da2e8e451..2cb4a9984 100644--- a/wger/manager/forms.py+++ b/wger/manager/forms.py@@ -175,8 +175,8 @@ class SetFormMobile(ModelForm):# https://code.djangoproject.com/ticket/9321def __init__(self, *args, **kwargs):super(SetFormMobile, self).__init__(*args, **kwargs)- self.fields['exercises'].help_text = _('You can search for more than one exercise, '- 'they will be grouped together for a superset.')+ self.fields['exercise_list'].help_text = _('You can search for more than one exercise, '+ 'they will be grouped together for a superset.')class HelperDateForm(Form):diff --git a/wger/manager/models.py b/wger/manager/models.pyindex 6262960c0..88b614c6f 100644--- a/wger/manager/models.py+++ b/wger/manager/models.py@@ -1015,5 +1015,4 @@ def reps_smart_text(settings, set_obj):setting_text = u' – '.join(tmp_reps_text)setting_list = tmp_reps-return setting_text, setting_listdiff --git a/wger/manager/templates/mobile/set/add.html b/wger/manager/templates/mobile/set/add.htmlindex f78d29619..60ee6dfd4 100644--- a/wger/manager/templates/mobile/set/add.html+++ b/wger/manager/templates/mobile/set/add.html@@ -42,7 +42,7 @@ $(document).on('pageinit', function(){{% yaml_form_field form.exercise_list %}<tr><td colspan="2">- <div id="exercise-search-log">+ <div id="exercise-search-log"></div></td></tr><tr>@@ -53,6 +53,13 @@ $(document).on('pageinit', function(){<input name="sets" id="id_sets" min="1" max="10" value="{{ form.sets.value }}" type="range"></td></tr>+ <tr>+ <td colspan="2">+ <p class="dimmed">{% blocktrans %}If you do the same repetitions for all sets,+you can just enter one value: e.g. for 4 sets just enter one "10" for the repetitions, this+automatically becomes "4 x 10".{% endblocktrans %}</p>+ </td>+ </tr><tr><td colspan="2">