aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/booking/booking_delete.html
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2018-02-13 17:53:56 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2018-02-19 21:16:25 +0000
commite5c2305cea0d7359dce6fc04fb23ad032735b1fd (patch)
treeb421a718fbcdfd0ec62cd6b6c988422cb2beb6c3 /src/templates/booking/booking_delete.html
parent2a82d24ab1b57fe0254345997af211bc139c4629 (diff)
Provide Interface for Booking Deletion
Jira: PHAROS-355 User can now delete their own booking by going to the detail view of their booking and clicking 'delete' Change-Id: I279da364c2a5dfd03b877d1236c610d0fef563bc Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/templates/booking/booking_delete.html')
-rw-r--r--src/templates/booking/booking_delete.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/templates/booking/booking_delete.html b/src/templates/booking/booking_delete.html
new file mode 100644
index 0000000..76a5634
--- /dev/null
+++ b/src/templates/booking/booking_delete.html
@@ -0,0 +1,11 @@
+{% load jira_filters %}
+{% load bootstrap3 %}
+
+<p>
+ Really delete Booking from {{ booking.start}} to {{ booking.end }}?
+</p>
+<p>
+ <div id="booking_delete_form_div">
+ <a href="{% url 'booking:delete_booking' booking_id=booking.id %}" class="btn btn btn-danger">Delete Booking</a>
+ </div>
+</p> \ No newline at end of file