2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
2012-08-11 00:07:50 +02:00
|
|
|
%html{ lang: "en"}
|
2012-11-28 18:40:54 +01:00
|
|
|
= render "layouts/head", title: "Profile"
|
2012-08-11 00:07:50 +02:00
|
|
|
%body{class: "#{app_theme} profile"}
|
2012-02-09 08:59:14 +01:00
|
|
|
= render "layouts/flash"
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "layouts/head_panel", title: "Profile"
|
2012-02-12 16:48:17 +01:00
|
|
|
.container
|
2012-07-03 19:52:48 +02:00
|
|
|
%ul.main_menu
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(path: 'profile#show', html_options: {class: 'home'}) do
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to "Profile", profile_path
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(path: 'profile#account') do
|
2012-09-14 18:13:25 +02:00
|
|
|
= link_to "Account", profile_account_path
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(controller: :keys) do
|
2012-07-21 09:27:09 +02:00
|
|
|
= link_to keys_path do
|
|
|
|
SSH Keys
|
|
|
|
%span.count= current_user.keys.count
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(path: 'profile#design') do
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to "Design", profile_design_path
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(path: 'profile#history') do
|
2012-09-14 18:13:25 +02:00
|
|
|
= link_to "History", profile_history_path
|
|
|
|
|
2012-09-26 22:14:17 +02:00
|
|
|
.content= yield
|