2013-03-24 16:24:34 -04:00
|
|
|
!!! 5
|
|
|
|
%html{ lang: "en"}
|
|
|
|
= render "layouts/head", title: "Snipepts"
|
|
|
|
%body{class: "#{app_theme} application"}
|
|
|
|
= render "layouts/head_panel", title: "Snippets"
|
|
|
|
= render "layouts/flash"
|
2013-06-04 11:50:42 -04:00
|
|
|
%nav.main-nav
|
|
|
|
.container
|
|
|
|
%ul
|
|
|
|
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
|
|
|
|
= link_to root_path, title: "Back to dashboard" do
|
|
|
|
%i.icon-home
|
2013-06-05 07:49:48 -04:00
|
|
|
= nav_link(path: 'snippets#new') do
|
2013-06-04 11:50:42 -04:00
|
|
|
= link_to new_snippet_path do
|
|
|
|
New snippet
|
|
|
|
= nav_link(path: 'snippets#user_index') do
|
|
|
|
= link_to user_snippets_path(@current_user) do
|
|
|
|
My snippets
|
|
|
|
= nav_link(path: 'snippets#index') do
|
|
|
|
= link_to snippets_path do
|
|
|
|
Discover snippets
|
2013-03-24 16:24:34 -04:00
|
|
|
.container
|
|
|
|
.content= yield
|