From 752f31b9722d15a7857e5ea56966e5f17141d82e Mon Sep 17 00:00:00 2001 From: Sawyer Bergeron Date: Mon, 26 Feb 2018 17:52:25 -0500 Subject: Limit User Booking Length and Extensions Jira: PHAROS-363 Bookings can now only be 3 weeks upon creation with a maximum of 2 1 week extensions. Change-Id: I677770de3f62f188d23e60be6d71b42b25bf007e Signed-off-by: Sawyer Bergeron --- src/templates/booking/booking_calendar.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/templates/booking/booking_calendar.html') diff --git a/src/templates/booking/booking_calendar.html b/src/templates/booking/booking_calendar.html index 81efbe5..b60db3c 100644 --- a/src/templates/booking/booking_calendar.html +++ b/src/templates/booking/booking_calendar.html @@ -64,13 +64,26 @@ {% bootstrap_form_errors form type='non_fields' %}
{% csrf_token %} - +
{% bootstrap_field form.start addon_after='' %}
{% bootstrap_field form.end addon_after='' %}
+
+ {% bootstrap_field form.purpose %} {% bootstrap_field form.installer %} {% bootstrap_field form.scenario %} -- cgit 1.2.3-korg