{% load rowerfilters %}
{% for chart in charts %}
    <div class="grid_3 alpha">
      <big>{{ forloop.counter }}</big>
      <div class="grid_3 tooltip">
        <a href="/rowers/workout/{{ workout.id|encode }}/flexchart?favoritechart={{ forloop.counter |add:"-1" }}">
          {{ chart.div | safe }}
        </a>
        {% if rower.showfavoritechartnotes %}
        <span class="tooltiptext">{{ chart.notes }}</span>
        {% endif %}
      </div>
    </div>
    {% endfor %}
{% endif %}
