<br />
-<table id="result_list" class="results">
- <thead>
- <tr>
- {% for h in headers %}
- <th>{{ h }}</th>
- {% endfor %}
+<form method="post">
+ <table id="result_list" class="results">
+ <thead>
+ <tr>
+ {% for h in headers %}
+ <th>{{ h }}</th>
+ {% endfor %}
+ </tr>
+ </thead>
+ {% for revision in revisions %}
+ <tr class="{% cycle 'row1' 'row2' %}">
+ <td>{{ revision.date_created }}</td>
+ <td>{{ revision.user|default:"" }}</td>
+ <td>{{ revision.type|default:"" }}</td>
+ <td>{% if revision.objet %}<a href="{{ revision.change_url }}">{{ revision.objet }}</a>{% endif %}</td>
+ <td>{% if revision.history_url %}<a href="{{ revision.history_url }}">historique{% endif %}</a></td>
+ <td>{{ revision.comment }}</td>
+ <td><input type="checkbox" id="id_items_{{ forloop.counter0 }}" value="{{ revision.id }}" name="items"></td>
</tr>
- </thead>
- {% for revision in revisions %}
- <tr class="{% cycle 'row1' 'row2' %}">
- <td>{{ revision.date_created }}</td>
- <td>{{ revision.user|default:"" }}</td>
- <td>{{ revision.type|default:"" }}</td>
- <td>{% if revision.objet %}<a href="{{ revision.change_url }}">{{ revision.objet }}</a>{% endif %}</td>
- <td>{% if revision.history_url %}<a href="{{ revision.history_url }}">historique{% endif %}</a></td>
- <td>{{ revision.comment }}</td>
- </tr>
- {% endfor %}
-</table>
+ {% endfor %}
+ </table>
+ <div>
+ <input type="submit" value="Marquer comme traité" />
+ </div>
+</form>
<br />