Skip to content

Commit a96bef6

Browse files
committed
more dict widget defaults
1 parent 1b8ab61 commit a96bef6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/yafowil/bootstrap/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ def configure_factory():
6161
# yafowil.widget.dict
6262
factory.defaults['dict.table_class'] = \
6363
'dictwidget table table-condensed'
64+
factory.defaults['dict.key_class'] = 'form-control'
65+
factory.defaults['dict.value_class'] = 'form-control'
6466

6567
# yafowil.widget.datetime
6668
factory.defaults['datetime.datepicker_class'] = 'datepicker form-control'

0 commit comments

Comments
 (0)