Changeset - b6222c5eba3a
[Not reviewed]
0 1 0
Christopher Neugebauer - 7 years ago 2016-09-02 01:06:46
chrisjrn@gmail.com
Changes to report.html
1 file changed with 13 insertions and 6 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/registrasion/report.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% load bootstrap %}
 
{% load registrasion_tags %}
 

	
 
{% block body %}
 

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

	
 
  <form method="GET">
 
    {{ form | bootstrap}}
 
    <br/>
 
    <input type="submit">
 
  </form>
 
  {% if form %}
 
    <form method="GET">
 
      {{ form | bootstrap}}
 
      <br/>
 
      <input type="submit">
 
    </form>
 
  {% endif %}
 
<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>
 
        <td>
 
          {% if report.link_view and forloop.counter0 == 0 %}
 
            <a href="{% url report.link_view item %}">
 
          {% endif %}
 
          {{ item }}
 
        </td>
 
      {% endfor %}
 
    </tr>
 
  {% endfor %}
 
</table>
 

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