From 9519c08e10a0fc159da51928a767fa90507ea9e2 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Sun, 6 Sep 2020 08:01:20 +0800 Subject: [PATCH] Fix typo in the example of form button style doc --- docs/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 1801b3a0..b91c6154 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -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``.