Reputation: 63
I have installed bourbon, neat and refills and would like to use modal window. Following the instructions I made:
rails generate refills:import modal
I have the modal partial and added to the page
<%= render 'refills/modal' %>
The result:
Any idea what I missed? Thank you!
Upvotes: 1
Views: 165
Reputation: 34643
You need to add the following code to application.js
// require refills/modal
And then you need to add the following line to application.scss
:
@import 'refills/modal';
That should do it.
Upvotes: 1