How to make a vertical menu in rails?

0

The truth is I have a problem that I think is noob.

It turns out that I am creating a panel for my users and I want to create a vertical menu, the problem is that I want it to be loaded in a part of the page. I leave an image so that they understand me.

Maybe there is some gem, but before venturing, I preferred to ask.

That they are well.

Greetings.

    
asked by Miguel Abdon Hollstein 16.12.2016 в 13:36
source

1 answer

0

I leave you two options, with rails you make the operation.

and Bootstrap else.

Bootstrap + css

Jasny Bootstrap

In your layout file within the head tags add the following:

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css">

<!-- Latest compiled and minified JavaScript -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/js/jasny-bootstrap.min.js"></script>

And with that you'll have the bootstrap for vertical menus ready to use in any section, you just have to create the structure as shown in the jsfiddles, with those classes where you want to have your menu.

    
answered by 16.12.2016 в 17:31