Skip to content

Commit

Permalink
Fix typo in the example of form button style doc
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Sep 6, 2020
1 parent fef8c29 commit 9519c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Here is a more complicate example:
{% from 'bootstrap/form.html' import render_form %}
{{ render_form(form, {'submit': 'success', 'cancel': 'secondary', 'delete': 'danger'}) }}
{{ render_form(form, button_map={'submit': 'success', 'cancel': 'secondary', 'delete': 'danger'}) }}
It will overwrite ``button_style`` and ``BOOTSTRAP_BTN_STYLE``.

Expand Down

0 comments on commit 9519c08

Please sign in to comment.