html - Rails 4 bootstrap-sass and simple user nav -
i trying create simple user nav bootstrap-sass. here application layout...
app/views/layouts/application.html.erb
<!doctype html> <html> <head> <title>wcapp</title> <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> <%= javascript_include_tag "application", "data-turbolinks-track" => true %> <%= csrf_meta_tags %> </head> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a class="brand" href="/">writingcenter@abtech</a> <div class="nav-collapse"> <ul class="nav"> <li><%= link_to "instructors", instructors_path %></li> <li><%= link_to "tutors", tutors_path %></li> </ul> </div> </div> </div> </div> <body> <%= yield %> </body> </html>
below view getting. have used code similar twitter bootstrap gem , have hoizontal view of each list item, want. list of 'li' across top of screen.
any appreciated!
Comments
Post a Comment