Release date: 2020/8/30
- Fix
tox
broken environments. - Fix
ResourceWarning
intest_local_resources
(#78). - Fix
IndexError
when usingrender_table
with empty data (#75). - Add support for actions column in
render_table
macro (#76). - Add support for Bootswatch theme via configuration
BOOTSTRAP_BOOTSWATCH_THEME
(#88). - Fix checkbox render issue: add
for
attribute to link<label>
with checkbox, only addis-invalid
class when there are errors. - Change default button style class from
btn-secondary
tobtn-primary
(#62). - Deprecated
form_errors
macro and it will be removed in 2.0, addrender_hidden_errors
macro as replacement. - Add
render_icon
macro to render Bootstrap icon with Bootstrap Icon SVG Sprite (#99). - Add configuration
BOOTSTRAP_MSG_CATEGORY
to set default message category.
Release date: 2020/6/15
- Add
render_table
macro to render a Bootstrap table (#71).
Release date: 2020/5/30
- Support display error message for
RadioField
andBooleanField
, display description forRadioField
.
Release date: 2020/4/29
- Fix add
field.render_kw.class
to form label class attribute. - Fix append extra space in class attribute when no
field.render_kw.class
presents (#63).
Release date: 2020/4/23
- Fix
enctype
attribute setting for WTFormsMultipleFileField
(`Flask-Bootstrap #198<https://github.com/mbr/flask-bootstrap/issues/198>`__). - Fix WTForms field class append bug when using
render_kw={'class': 'my-class'}
(#53). - Fix WTForms field description not showing for
BooleanField
(`Flask-Bootstrap #197<https://github.com/mbr/flask-bootstrap/issues/197>`__). - Add configuration variable
BOOTSTRAP_BTN_STYLE``(default to ``primary
) andBOOTSTRAP_BTN_SIZE``(default to ``md
) to set default form button style and size globally. - Add parameter
button_style
andbutton_map
forrender_form
andrender_field
to set button style and size.
Release date: 2019/12/5
- Add macro
render_messages
for rendering flashed messages. - Fix rendering bug for WTForms
FormField
(#34).
Release date: 2019/9/9
- Update Bootstrap version to 4.3.1
Release date: 2019/3/7
- Added macro
render_form_row
for rendering a row of a bootstrap grid form.
Release date: 2018/11/14
- Fix missing error message when form type was horizontal.
- Fix missing input label for RadioField.
- Fix RadioField grid when form type was horizontal.
Release date: 2018/9/6
- Correct macro name used in
templates/bootstrap/form.html
:form_field
-->render_field
.
Release date: 2018/8/30
- Built-in resources loading not based on``FLASK_ENV``.
Release date: 2018/8/7
- Fix unmatched built-in jQuery filename. (#8)
Release date: 2018/8/7
- Fix KeyError Exception if ENV isn't defined. (#7)
Release date: 2018/7/24
- Add missing
<script>
tag in resources URL. (#3)
Release date: 2018/7/22
- Built-in resources will be used when
FLASK_ENV
set todevelopment
. - Change CDN provider to jsDelivr.
Release date: 2018/7/21
- Include
popper.js
beforebootstrap.js
inbootstrap.load_js()
. (#2)
Release date: 2018/7/1
- Fix local resources path error
- Add basic unit tests
Release date: 2018/6/11
Initial release.