Skip to content

Commit 59b25a7

Browse files
committed
Merge branch 'release/5.1.1'
2 parents 2abfff6 + 8c4f4c4 commit 59b25a7

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

HISTORY.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ History
44
-------
55

66

7+
5.1.1 (2015-01-22)
8+
++++++++++++++++++
9+
10+
* Fix checkbox display bug
11+
12+
713
5.1.0 (2015-01-22)
814
++++++++++++++++++
915

bootstrap3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# -*- coding: utf-8 -*-
22

3-
__version__ = '5.1.0'
3+
__version__ = '5.1.1'

bootstrap3/renderers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,7 @@ def wrap_widget(self, html):
339339
if isinstance(self.widget, CheckboxInput):
340340
checkbox_class = add_css_class('checkbox', self.get_size_class())
341341
html = \
342-
'<div class="{klass}">' + \
343-
'{content}</div>'.format(
342+
'<div class="{klass}">{content}</div>'.format(
344343
klass=checkbox_class, content=html
345344
)
346345
return html

0 commit comments

Comments
 (0)