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 rail generated simple_size: install --bootstrap

In my form file, I

 < 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;   

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 @import "bootstrap-sprockets"; @import "bootstrap";

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

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -