{% for workout in workouts %} {{ workout.start_date | strftime("%b %d %Y") }} {% for exercise in selected_exercises %} {% for set in workout.exercises[exercise.id] %} {{ set.repetitions }} x {{ set.weight }}kg {% endfor %} {% endfor %} {% if loop.last and has_more %} {% endif %} {% endfor %}