diff --git a/mayan/apps/checkouts/widgets.py b/mayan/apps/checkouts/widgets.py index 459506ef69..72497c8fba 100644 --- a/mayan/apps/checkouts/widgets.py +++ b/mayan/apps/checkouts/widgets.py @@ -16,16 +16,15 @@ class SplitTimeDeltaWidget(forms.widgets.MultiWidget): """ def __init__(self, attrs=None): widgets = ( + forms.widgets.Select( + attrs={'style': 'width: 8em;'}, choices=TIME_DELTA_UNIT_CHOICES + ), forms.widgets.NumberInput( attrs={ 'maxlength': 4, 'style': 'width: 8em;', 'placeholder': _('Period') } - ), - forms.widgets.Select( - attrs={'style': 'width: 8em;'}, choices=TIME_DELTA_UNIT_CHOICES - ), - + ) ) super(SplitTimeDeltaWidget, self).__init__(widgets, attrs)