1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 10:38:50 +01:00

Use bh gem (bootstrap helpers), make use of it for navbar

This commit is contained in:
2014-12-10 17:14:03 +01:00
parent 5bbf385fdf
commit 5bbed9573c
3 changed files with 14 additions and 3 deletions

View File

@@ -7,9 +7,14 @@
<%= csrf_meta_tags %>
</head>
<body>
<%= nav_bar :brand => 'Projekt Euler', :brand_link => root_path do %>
<%= menu_group do %>
<%= menu_item 'Probleme', problems_path %>
<%= navbar position: :static do %>
<%= vertical do %>
<%= link_to 'Projekt Euler', root_path %>
<% end %>
<%= horizontal do %>
<%= nav class: 'navbar-left' do %>
<%= link_to 'Probleme', problems_path %>
<% end %>
<% end %>
<% end %>
<div class="container">