Simple_form how to make accept terms checkbox inline

后端 未结 3 816
无人共我
无人共我 2020-12-31 13:32

<%= f.input :terms, :as => :boolean, :label => false, :boolean_style => :inline %> Accept <%= link_to \"Terms of use\", terms_path,:remot

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-31 14:10

    Ensure the checkbox and text are small enough to fit in one row inside the container, then set display: inline; or float:left;

提交回复
热议问题