Changeset - 286304157d27
[Not reviewed]
0 1 0
Christopher Neugebauer - 7 years ago 2016-12-07 07:05:28
chrisjrn@gmail.com
Adds view as CSV button.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/report.html
Show inline comments
...
 
@@ -13,13 +13,19 @@
 
      <input type="submit">
 
    </form>
 
  {% endif %}
 
<hr />
 

	
 
{% for report in reports %}
 

	
 
  <div class="btn-group pull-right">
 
    <a class="btn btn-default" href="{% report_as_csv forloop.counter0 %}">View as CSV</a>
 
  </div>
 

	
 
  <h3>{{ report.title }}</h3>
 

	
 
  <table class="table table-striped">
 
    <tr>
 
      {% for heading in report.headings %}
 
        <th>{{ heading }}</th>
 
      {% endfor %}
 
    </tr>
0 comments (0 inline, 0 general)