{% extends "base.html" %}

{% from "macros.html" import diagram, workouts_table with context %}

{% block title %}{{ exercise }} - Exercise{% endblock %}

{% block content_title %}{{ exercise }}{% endblock %}

{% block content %}
{{ diagram('exercise', intervals, current, exercise) }}
<div class="table-container mt-4">
    {{ workouts_table(workouts) }}
</div>
{% endblock %}

{% set parent_page = 'exercises_view' %}
