diff options
Diffstat (limited to 'templates/slot/index.html')
-rw-r--r-- | templates/slot/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/slot/index.html b/templates/slot/index.html index 1a25a1f..a8cdaef 100644 --- a/templates/slot/index.html +++ b/templates/slot/index.html @@ -17,13 +17,13 @@ <th>Delete</th> </tr> </thead> - <tbody> + <tbody>url {% for b in bookings %} <tr> <td>{{ b.booking_date|date:"M d, Y" }}</td> <td>{{ b.slot }}</td> {% if now_time < b.start_time %} - <td><a class="btn btn-danger" href="{% url 'sbhs_server.slot.views.delete' b.id %}" onclick="return confirm('Are you sure you want to delete booking for slot {{b.slot}} ?');">Delete</a></td> + <td><a class="btn btn-danger" href="{% url 'slot_delete' b.id %}" onclick="return confirm('Are you sure you want to delete booking for slot {{b.slot}} ?');">Delete</a></td> {% else %} <td><a class="btn btn-disabled" disabled="disabled">Delete</a></td> {% endif %} |