Skip to content

Commit efd30af

Browse files
committed
Refactor check
1 parent 12fc32d commit efd30af

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/bootstrap4/renderers.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,8 @@ def fix_date_select_input(self, html):
360360
return '<div class="row bootstrap4-multi-input">{html}</div>'.format(html=html)
361361

362362
def fix_file_input_label(self, html):
363-
if self.layout == "horizontal":
364-
return html
365-
366-
html = "<br>" + html
363+
if self.layout != "horizontal":
364+
html = "<br>" + html
367365
return html
368366

369367
def post_widget_render(self, html):

0 commit comments

Comments
 (0)