diff options
author | coderick14 | 2017-05-17 15:40:18 +0530 |
---|---|---|
committer | coderick14 | 2017-05-17 15:41:00 +0530 |
commit | fe407193c200e03070928c1e2c1a6e067d32893d (patch) | |
tree | 1c492aa814754b5db5d644c769f5382306217298 /templates/slot/index.html | |
parent | 9a1393e8470d855762e699abca9911b9cdae6a7d (diff) | |
download | SBHS-2018-Rpi-fe407193c200e03070928c1e2c1a6e067d32893d.tar.gz SBHS-2018-Rpi-fe407193c200e03070928c1e2c1a6e067d32893d.tar.bz2 SBHS-2018-Rpi-fe407193c200e03070928c1e2c1a6e067d32893d.zip |
Upgrade to Django 1.11
- Database integration yet to be tested
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 %} |