I have simple RoR 3.2 application with Twitter bootstrap 2.1.0 (i implemented it via twitter-bootstrap-rails gem). I want to integrate sidebar with few links (as you can see on twitter bootstrap page on the left side) but i can't get how to implement this (yes, i'm noob). Does anyone have solution how to do that in Rails?
My application layout:
!!!
%html
%head
%title MyApp
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags
%meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
%body
%div{ :class => "wrapper" }
= render 'layouts/navbar_template'
%div{ :class => "container-fluid" }
- flash.each do |key, msg|
%div{ :class => "alert alert-#{key}" }
%button{ :type => "button", :class => "close", "data-dismiss" =>"alert" }×
= msg
%div{ :class => "row-fluid" }
%div{:class => "span10"}
=yield
%div{:class => "span2"}
-# I would like to have sidebar here