aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 13:35:46 -0400
committerSawyer Bergeron <sawyerbergeron@gmail.com>2019-03-13 13:35:46 -0400
commit8264680aa9c58c3d6553c0f17987dfd76a800b4a (patch)
tree414fd6612d845bc9df0a3477539870cf13299546
parent709a1dfdb50de80275d23c45be013c40388d7044 (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>
-rw-r--r--src/workflow/forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workflow/forms.py b/src/workflow/forms.py
index 03940d8..b40713f 100644
--- a/src/workflow/forms.py
+++ b/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"
}
)
)