diff options
Diffstat (limited to 'servo/forms/checkin.py')
-rw-r--r-- | servo/forms/checkin.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/servo/forms/checkin.py b/servo/forms/checkin.py index c8429a9..6a6cf9d 100644 --- a/servo/forms/checkin.py +++ b/servo/forms/checkin.py @@ -40,6 +40,7 @@ class ConfirmationForm(forms.Form): class DeviceForm(forms.ModelForm): + """The form for editing devices in the /checkin view""" required_css_class = 'required' @@ -69,10 +70,12 @@ class DeviceForm(forms.ModelForm): help_text=_("Please describe the condition of the device") ) - queue = forms.ModelChoiceField(label=_('Queue'), - required=False, - queryset=Queue.objects.all(), - help_text=_('Assign order to this queue')) + queue = forms.ModelChoiceField( + label=_('Queue'), + required=False, + queryset=Queue.objects.all(), + help_text=_('Assign order to this queue') + ) class Meta: model = Device |