File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ def decompress(self, value):
30
30
31
31
def format_output (self , rendered_widgets ):
32
32
33
- """Format the output by substituting the "other" choice into the first widget. """
33
+ """Format the output by substituting the "other" choice into the first widget"""
34
34
35
- return '<div class="choice_with_other_wrapper">%s %s</div>' % \
36
- (rendered_widgets [0 ], rendered_widgets [1 ])
35
+ return u'<div class="choice_with_other_wrapper" style="display: table-row;">{} {}</div>' .format (
36
+ rendered_widgets [0 ],
37
+ rendered_widgets [1 ],
38
+ )
37
39
38
40
def _media (self ):
39
- js_list = ['%sadmin/choice_with_other.js' % settings .STATIC_URL , ]
40
- return forms .Media (js = js_list )
41
-
41
+ return forms .Media (js = ('admin/choice_with_other.js' ,))
42
42
media = property (_media )
43
43
44
44
You can’t perform that action at this time.
0 commit comments