Skip to content

Instantly share code, notes, and snippets.

@robrocker7
Created July 6, 2012 17:19
Show Gist options
  • Save robrocker7/3061424 to your computer and use it in GitHub Desktop.
Save robrocker7/3061424 to your computer and use it in GitHub Desktop.
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
<th>Intake Status</th>
<th></th>
</tr>
</thead>
<tbody>
{% for intake in intakes %}
<tr>
<td>{{ intake.client.get_full_name }} ({{ intake.client.user }})</td>
<td>{{ intake.client.user.email }}</td>
<td>{{ intake.client.phone_number.number }}</td>
<td>{{ intake.get_status }}</td>
<td>
<a href="{% url processor:intake_view intake.id %}" class="btn btn-info btn-mini">View Intake</a>
{% if intake.is_processing %}
<a href="{% url processor:intake_documents intake.id %}" class="btn btn-info btn-mini">Documents</a>
{% endif %}
</td>
</tr>
{% empty %}
<tr>
<td colspan="5" style="text-align: center;"> You have no intakes in this filter. </td>
</tr>
{% endfor %}
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment