Skip to content

Commit a97b8d3

Browse files
committed
use button.class
1 parent 39769c5 commit a97b8d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/yafowil/bootstrap/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def register_macros():
8383
'div.class_add': 'col-sm-10',
8484
})
8585
factory.register_macro('button', 'button', {
86-
'submit.class': 'btn',
87-
'submit.class_add': 'btn-default',
86+
'button.class': 'btn',
87+
'button.class_add': 'btn-default',
8888
})
8989

9090
# yafowil.widget.array

0 commit comments

Comments
 (0)