Changeset - f0868a896be6
[Not reviewed]
0 0 1
Christopher Neugebauer - 5 years ago 2016-09-01 23:59:17
chrisjrn@gmail.com
Adds report HTML view
1 file changed with 31 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/report.html
Show inline comments
 
new file 100644
 
{% extends "site_base.html" %}
 
{% load bootstrap %}
 
{% load registrasion_tags %}
 

	
 
{% block body %}
 

	
 
  <h2>{{ title }}</h2>
 

	
 
  <form method="GET">
 
    {{ form | bootstrap}}
 
    <br/>
 
    <input type="submit">
 
  </form>
 
<hr />
 

	
 
<table class="table table-striped">
 
  <tr>
 
    {% for heading in report.headings %}
 
      <th>{{ heading }}</th>
 
    {% endfor %}
 
  </tr>
 
  {% for line in report.data %}
 
    <tr>
 
      {% for item in line %}
 
        <td>{{ item }}</td>
 
      {% endfor %}
 
    </tr>
 
  {% endfor %}
 
</table>
 

	
 
{% endblock %}
0 comments (0 inline, 0 general)