aboutsummaryrefslogtreecommitdiff
path: root/app/dispatch/forms.py
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2017-11-10 21:08:11 -0500
committerMitch Riedstra <mitch@riedstra.us>2017-11-10 21:08:11 -0500
commit4d1ce945792648fca00d50ce18a61b775589d9ae (patch)
tree3686b541946af10aae92ef104aa5cbd31483687f /app/dispatch/forms.py
parent6155857dcd9a88d07756c465df42c5155c7183dc (diff)
downloaddispatch-tracker-4d1ce945792648fca00d50ce18a61b775589d9ae.tar.gz
dispatch-tracker-4d1ce945792648fca00d50ce18a61b775589d9ae.tar.xz
Working invites in the Driver's list page
Diffstat (limited to 'app/dispatch/forms.py')
-rw-r--r--app/dispatch/forms.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/dispatch/forms.py b/app/dispatch/forms.py
index 6333486..feeda39 100644
--- a/app/dispatch/forms.py
+++ b/app/dispatch/forms.py
@@ -6,7 +6,8 @@ from dispatch.models import Paperwork
class AddPaperworkForm(forms.ModelForm):
class Meta:
model = Paperwork
- # widgets = {'load': forms.HiddenInput()}
- # fields = ('load', 'description', 'document')
fields = ('description', 'document')
- # exclude = ('load',)
+
+class InviteForm(forms.Form):
+ first_name = forms.CharField(label="User's name")
+ email_address = forms.EmailField(label="User's email address")