{% extends "base.html" %}
{% load i18n %}
{% load staticfiles %}
{% load wger_extras %}


<!--
        Title
-->

{% block title %}{% trans "Edit set" %}{% endblock %}

<!--
        Main Content
-->
{% block content %}


<form action="{{form_action}}"
      method="post"
      class="ym-form">

{% csrf_token %}
<table>
    <tr>
        <td colspan="2">
            <div id="formsets">
            {% for formset in formsets %}
                    {% include 'set/formset.html' with exercise=formset.exercise formset=formset.formset %}
            {% endfor %}
            </div>
        </td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" value="{% trans 'Save' %}" id="form-save">
        </td>
    </tr>
</table>

{% endblock %}
