Skip to content

Commit c19b919

Browse files
committed
make submit of the form a real button
1 parent 8b956d5 commit c19b919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yafowil/bootstrap/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def register_macros():
8282
'label.class_add': 'col-sm-2',
8383
'div.class_add': 'col-sm-10',
8484
})
85-
factory.register_macro('button', 'submit', {
85+
factory.register_macro('button', 'button', {
8686
'submit.class': 'btn',
8787
'submit.class_add': 'btn-default',
8888
})

0 commit comments

Comments
 (0)