{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% block title %}{% trans "New weight log" %} – {{day.description}}{% endblock %} {% block header %} {% endblock %} {% block content %}
{% csrf_token %} {{formset.management_form}} {% if session_form.non_field_errors %}
{% for error in session_form.non_field_errors %}

{% trans error %}

{% endfor %}
{% endif %} {% yaml_form_field dateform.date %} {% for field in session_form %} {% if field.name == 'impression' %} {% yaml_form_field field "ym-fbox-select" %} {% else %} {% yaml_form_field field %} {% endif %} {% endfor %}

{% trans "Exercises" %}

{% for key, value in exercises.items %}

{{value.obj.name}}

{% for form in value.forms %} {% endfor %}
{{form.reps}}
{% trans "Reps" %}
{{form.weight}}
kg.
{% empty %}

{% trans "Add exercises to this training day before adding a log." %} {% trans "Back to workout" %}

{% endfor %}

{% trans "Cancel" %}

{% endblock %} {% block sidebar %}

{% trans "Info" %}

{% blocktrans %}A new workout session (impression, notes, time) will be created if there isn't already one for the selected date. If there is, it will simply be edited. Weight entries are always added.{% endblocktrans %}

{% trans "Options" %}

{% trans 'Back to workout' %} {% trans "Back to workout" %}

{% endblock %}