@@ -33,13 +33,11 @@ def __init__(self, *args, **kwargs):
33
33
34
34
class Meta :
35
35
widgets = {
36
- 'authors' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' , attrs = {'style' : 'width: 100%' }),
37
- 'curators' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' , attrs = {'style' : 'width: 100%' }),
38
- 'testers' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' , attrs = {'style' : 'width: 100%' }),
39
- 'banned_users' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' ,
40
- attrs = {'style' : 'width: 100%' }),
41
- 'organizations' : AdminHeavySelect2MultipleWidget (data_view = 'organization_select2' ,
42
- attrs = {'style' : 'width: 100%' }),
36
+ 'authors' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' ),
37
+ 'curators' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' ),
38
+ 'testers' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' ),
39
+ 'banned_users' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' ),
40
+ 'organizations' : AdminHeavySelect2MultipleWidget (data_view = 'organization_select2' ),
43
41
'types' : AdminSelect2MultipleWidget ,
44
42
'group' : AdminSelect2Widget ,
45
43
'description' : AdminMartorWidget (attrs = {'data-markdownfy-url' : reverse_lazy ('problem_preview' )}),
@@ -89,7 +87,7 @@ def __init__(self, *args, **kwargs):
89
87
90
88
class Meta :
91
89
widgets = {
92
- 'authors' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' , attrs = { 'style' : 'width: 100%' } ),
90
+ 'authors' : AdminHeavySelect2MultipleWidget (data_view = 'profile_select2' ),
93
91
'content' : AdminMartorWidget (attrs = {'data-markdownfy-url' : reverse_lazy ('solution_preview' )}),
94
92
}
95
93
0 commit comments