Clarify edit action

This commit is contained in:
Gabriel Augendre 2018-06-01 20:21:28 +02:00
parent 796d1874da
commit 4cfda7cfc2

View file

@ -29,7 +29,7 @@
<table class="table table-hover table-sm">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Modifier</th>
<th scope="col">Classe</th>
<th scope="col">Discipline</th>
<th scope="col">Titre</th>
@ -45,7 +45,10 @@
<tbody>
{% for book in books %}
<tr>
<th scope="row"><a href="{% url 'edit_book' teacher_pk=book.teacher.pk pk=book.pk %}"><i class="fas fa-edit"></i></a></th>
<th scope="row">
<a title="Modifier"
href="{% url 'edit_book' teacher_pk=book.teacher.pk pk=book.pk %}"><i class="fas fa-edit"></i></a>
</th>
<td>{{ book.level }}</td>
<td>{{ book.field }}</td>
<td>{{ book.title }}</td>
@ -71,7 +74,7 @@
<table class="table table-hover table-sm">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Modifier</th>
<th scope="col">Classe</th>
<th scope="col">Disciplines</th>
<th scope="col">Liste de fournitures</th>
@ -80,7 +83,10 @@
<tbody>
{% for supply in supplies %}
<tr>
<th scope="row"><a href="{% url 'edit_supplies' teacher_pk=supply.teacher.pk pk=supply.pk %}"><i class="fas fa-edit"></i></a></th>
<th scope="row">
<a title="Modifier"
href="{% url 'edit_supplies' teacher_pk=supply.teacher.pk pk=supply.pk %}"><i class="fas fa-edit"></i></a>
</th>
<td>{{ supply.level }}</td>
<td>{{ supply.fields }}</td>
<td>{{ supply.supplies|linebreaksbr }}</td>