Note the extra inline class added to the labels. How can I do such thing with Simpleform + Bootstrap?
Thanks
I want to accomplish the following:
# <labelclass="checkbox inline">
# <inputtype="checkbox"id="inlineCheckbox1"value="option1">1
# </label>
#
# <labelclass="checkbox inline">
# <inputtype="checkbox"id="inlineCheckbox2"value="option2">2
# </label>
Note the extra */inline/* class added to the labels. How can I do such
thing with Simpleform + Bootstrap?
Thanks
--
You received this message because you are subscribed to the Google
Groups "SimpleForm" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to plataformatec-simp...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi,
If you're using collection input you can use `:item_wrapper_class`:
f.input :foo, :collection => foo_collection, :as => :check_boxes, :item_wrapper_class => 'inline'
Seal wrote:
I want to accomplish the following:
# <labelclass="checkbox inline">
# <inputtype="checkbox"id="inlineCheckbox1"value="option1">1
# </label>
#
# <labelclass="checkbox inline">
# <inputtype="checkbox"id="inlineCheckbox2"value="option2">2
# </label>
Note the extra */inline/* class added to the labels. How can I do such
thing with Simpleform + Bootstrap?
Thanks
--
You received this message because you are subscribed to the Google
Groups "SimpleForm" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to plataformatec-simpleform+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to plataformatec-simp...@googlegroups.com.