2013-05-18 14:53:17 +00:00
|
|
|
{% extends "admin2/bootstrap/base.html" %}
|
2013-05-18 11:37:46 +00:00
|
|
|
|
|
|
|
|
{% block content %}
|
2013-05-18 16:16:25 +00:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="span10">
|
|
|
|
|
<h3>Select {{ model }} to change</h3>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="span2">
|
|
|
|
|
{% if has_add_permission %}
|
|
|
|
|
<a class="btn" href="./create/">Add {{ model|title }} <i class=" icon-plus-sign"></i></a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-05-18 11:37:46 +00:00
|
|
|
|
2013-05-18 16:16:25 +00:00
|
|
|
<hr/>
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="span12">
|
|
|
|
|
<table class="table table-bordered table-striped">
|
|
|
|
|
<thead>
|
|
|
|
|
<th><input type="checkbox"></th>
|
|
|
|
|
<th>{{ model|title}}</th>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{% for obj in object_list %}
|
|
|
|
|
<td><input type="checkbox"></td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ obj }} <a href="./{{ obj.pk }}/">detail</a>
|
|
|
|
|
{% if has_edit_permission %}
|
|
|
|
|
<a href="./{{ obj.pk }}/update/">edit</a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if has_delete_permission %}
|
|
|
|
|
<a href="./{{ obj.pk }}/delete/">delete</a>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</td>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-05-18 11:37:46 +00:00
|
|
|
|
|
|
|
|
{% endblock content %}
|