如何水平对齐由simpleform生成的复选框?
我尝试了以下操作,但无效:
<%= f.input :operating_days, :collection=>Date::DAYNAMES, as: :check_boxes, :input_html=>{:checked=>@business.opes},:label=>'OPD',:item_wrapper_class => 'inline'%>
<%= f.input :operating_days, :collection=>Date::DAYNAMES, as: :check_boxes, :input_html=>{:checked=>@business.opes},:label=>'OPD',:style => 'display: inline-block;'%>
<%= f.input :operating_days, :collection=>Date::DAYNAMES, as: :check_boxes, :input_html=>{:checked=>@business.opes,:style => 'display: inline-block;'},:label=>'OPD'%>
我正在使用Bootstrap。