ruby on rails - simple_form & Bootstrap styles not being applied -
I have started using simple_form in my app because I am using Bootstrap I want to connect two Was there.
I installed the gem and the In my form file, I But none of the bootstrap styles are being implemented. It's just showing the basic element I have done this to ensure that I am correcting it. I have 'code' gem 'bootstrap-saas',' ~ & gt; 3.2.0 ' installed and inside of my application.css.scss I have this line Can someone recommend another? Or tell me where am I wrong? Highly appreciated. Do you read this? I'm not sure that this helps you? But when I worked with Twitter Bootstrap + Simple Form, I had to describe the wrapper for it. Check more rail generated simple_size: install --bootstrap
< Code> & lt;% = simple_form_for (@ projector, html: {class: 'form-horizontal'}) do | F | & Gt%; & Lt;% = f.error_notification% & gt; & Lt;% = f.input: name% & gt; & Lt;% = f.submit "Submit", Category: "Button"%> & Lt;% end% & gt;
@import "bootstrap-sprockets"; @import "bootstrap";
Comments
Post a Comment