diff options
author | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-03-13 13:35:46 -0400 |
---|---|---|
committer | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-03-13 13:35:46 -0400 |
commit | 484b542c63bfa0f6178446a1c49023278cd16a1e (patch) | |
tree | dce9875c50f4b178e27a83334d3e7d69c53904fe /dashboard | |
parent | db0950a683d8400240d57fcdc5612979a2a146aa (diff) |
Bookings no longer default to 0 days
This commit rectifies bookings defaulting to
(and allowing) a length of 0 on the booking
meta step
Change-Id: I5a9a516fc7cb2b5e9f30ec1b4ad93f7c31d1acbc
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Diffstat (limited to 'dashboard')
-rw-r--r-- | dashboard/src/workflow/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/src/workflow/forms.py b/dashboard/src/workflow/forms.py index 03940d8..b40713f 100644 --- a/dashboard/src/workflow/forms.py +++ b/dashboard/src/workflow/forms.py @@ -186,9 +186,9 @@ class BookingMetaForm(forms.Form): widget=NumberInput( attrs={ "type": "range", - 'min': "0", + 'min': "1", "max": "21", - "value": "0" + "value": "1" } ) ) |