(Note: In certain newer versions of simple_form, the option to use is wrapper: 'bootstrap'.) When using Twitter Bootstrap and SimpleForm together, simple_fields_for needs the option wrapper: 'inline' which can Inside the html_options you can add an option :render_options, and the containing hash will be handed down to the form builder for the inserted Optionally, you can omit the name and supply a block that is captured to render the link body (if you want to do something more complicated).
0 Comments
Leave a Reply. |