Make sure the ChoiceForm is full height

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2018-12-24 04:23:06 -04:00
parent fd7e937cef
commit 9be8f02829

View File

@@ -31,7 +31,9 @@ class ChoiceForm(forms.Form):
self.fields['selection'].help_text = help_text
self.fields['selection'].widget.disabled_choices = disabled_choices
self.fields['selection'].widget.attrs.update(
{'size': 14, 'class': 'choice_form'}
{
'class': 'full-height', 'data-height-difference': '450'
}
)
selection = forms.MultipleChoiceField(widget=DisableableSelectWidget())