{% extends "base.html" %}
{% block comments %}
<!--
# Copyright (c) 2015 Riverbed Technology, Inc.
#
# This software is licensed under the terms and conditions of the MIT License
# accompanying the software ("License").  This software is distributed "AS IS"
# as set forth in the License.
-->
{% endblock %}

{% load url from future %}

{% block content %}
    <div class="container-fluid">
      <div class="hero-unit">
          <form action="/report/{{ report.id }}/configure" method="POST">
              {% csrf_token %}
              {{ reportForm }}
              <input type="submit" value="Update">
          </form>
      </div>
      <div class="row-fluid">
      {% for widget_id, widgetForm in widgetForms %}
            <div class="span2">
                <form action="/report/{{ report.id }}/configure/{{ widget_id }}" method="POST">
                    {% csrf_token %}
                    {{ widgetForm }}
                    <input type="submit" value="Update">
                </form>
            </div>
      {% endfor %}
      </div>
    </div>
{% endblock %}
