 page_name == 'homework_edit' %}
            <button name="operation" value="update" type="submit" class="rounded primary button">
              {{ _('Update') }}
            </button>
            <button name="operation" value="update" type="submit" formaction="{{ url('homework_create') }}" class="rounded button">
              {{ _('Clone') }}
            </button>
            {% if handler.user.own(tdoc) or handler.user.hasPerm(perm.PERM_EDIT_HOMEWORK) %}
              <button name="operation" value="del