Skip to content

Commit 265ffd6

Browse files
committed
use btn-primary
1 parent a97b8d3 commit 265ffd6

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
@@ -25,7 +25,7 @@ def configure_factory():
2525
factory.defaults['select.radio_wrapper_class'] = 'radio'
2626
factory.defaults['select.checkbox_wrapper_class'] = 'checkbox'
2727

28-
factory.defaults['submit.class'] = 'btn btn-default'
28+
factory.defaults['submit.class'] = 'btn btn-primary'
2929

3030
factory.defaults['email.class'] = 'email form-control'
3131

@@ -84,7 +84,7 @@ def register_macros():
8484
})
8585
factory.register_macro('button', 'button', {
8686
'button.class': 'btn',
87-
'button.class_add': 'btn-default',
87+
'button.class_add': 'btn-primary',
8888
})
8989

9090
# yafowil.widget.array

0 commit comments

Comments
 (0)