aboutsummaryrefslogtreecommitdiffstats
path: root/servo/forms
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-10 14:19:40 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-10 14:19:40 +0300
commit5db340c9b85887a03cf1010399776b840b8bda8e (patch)
tree6c77a2a2cba5d7b1fac512b507aa47e5956f5c72 /servo/forms
parent2deb6a356aab1c18443748e7c6d693e60086ddcf (diff)
downloadServo-5db340c9b85887a03cf1010399776b840b8bda8e.tar.gz
Servo-5db340c9b85887a03cf1010399776b840b8bda8e.tar.bz2
Servo-5db340c9b85887a03cf1010399776b840b8bda8e.zip
Added GSX repair import
Diffstat (limited to 'servo/forms')
-rw-r--r--servo/forms/repairs.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/servo/forms/repairs.py b/servo/forms/repairs.py
index b821ea9..d705152 100644
--- a/servo/forms/repairs.py
+++ b/servo/forms/repairs.py
@@ -35,6 +35,14 @@ from servo.models import User, Repair, Template
from servo.forms import BaseForm, AutocompleteTextarea, DateTimePickerInput, ChoiceField
+class ImportForm(BaseForm):
+ confirmation = forms.CharField(
+ min_length=8,
+ max_length=15,
+ label=_('Confirmation')
+ )
+
+
class GsxCustomerForm(BaseForm):
firstName = forms.CharField(max_length=100, label=_('First name'))
lastName = forms.CharField(max_length=100, label=_('Last name'))