1

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:

enter image description here

Any idea what I missed? Thank you!

  • It looks like none of the JavaScript is working. Can you check the console in your browser and post the output here? – Stratus3D Dec 02 '15 at 22:47

1 Answers1

1

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.

stephenmurdoch
  • 34,024
  • 29
  • 114
  • 189