{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% block title %}{% with day_name=day.description %}{% blocktrans %}Add exercises to day "{{day_name}}"{% endblocktrans %}{% endwith %}{% endblock %} {% block header %} {% endblock %} {% block content %}
{% csrf_token %} {% yaml_form_field form.exercises %}
{{form.sets.value}}

{% 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 %}

{% for formset in formsets %} {% include 'set/formset.html' with exercise=formset.exercise formset=formset.formset %} {% endfor %}
{% endblock %}