File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -232,8 +232,8 @@ def test_layout_horizontal(self):
232
232
form = TestForm ()
233
233
res = render_template (
234
234
'{% bootstrap_form form layout="horizontal" %}' , form = form )
235
- self .assertIn ('col-md-2 ' , res )
236
- self .assertIn ('col-md-4 ' , res )
235
+ self .assertIn ('col-md-3 ' , res )
236
+ self .assertIn ('col-md-9 ' , res )
237
237
res = render_template (
238
238
'{% bootstrap_form form layout="horizontal" ' +
239
239
'horizontal_label_class="hlabel" ' +
@@ -247,8 +247,8 @@ def test_buttons_tag(self):
247
247
form = TestForm ()
248
248
res = render_template (
249
249
'{% buttons layout="horizontal" %}{% endbuttons %}' , form = form )
250
- self .assertIn ('col-md-2 ' , res )
251
- self .assertIn ('col-md-4 ' , res )
250
+ self .assertIn ('col-md-3 ' , res )
251
+ self .assertIn ('col-md-9 ' , res )
252
252
253
253
254
254
class FieldTest (TestCase ):
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ The ``BOOTSTRAP3`` dict variable is contains these settings and defaults:
36
36
'include_jquery': False,
37
37
38
38
# Label class to use in horizontal forms
39
- 'horizontal_label_class': 'col-md-2 ',
39
+ 'horizontal_label_class': 'col-md-3 ',
40
40
41
41
# Field class to use in horizontal forms
42
- 'horizontal_field_class': 'col-md-4 ',
42
+ 'horizontal_field_class': 'col-md-9 ',
43
43
44
44
# Set HTML required attribute on required fields
45
45
'set_required': True,
You can’t perform that action at this time.
0 commit comments