turn the sidebar into a set of widgets
[shapado:shapado.git] / app / views / shared / _widgets_settings.html.haml
1 .group
2   = check_box_tag "settings[on_welcome]", nil, widget.settings["on_welcome"], :class => "checkbox"
3   = label :settings, t('widgets.settings.on_welcome'), :class => "radio"
4 .group
5   = check_box_tag "settings[on_questions]", nil, widget.settings["on_questions"], :class => "checkbox"
6   = label :settings, t('widgets.settings.on_questions'), :class => "radio"
7 .group
8   = check_box_tag "settings[on_show_question]", nil, widget.settings["on_show_question"], :class => "checkbox"
9   = label :settings, t('widgets.settings.on_show_question'), :class => "radio"