Refactored profile area
This commit is contained in:
parent
8f9a450eed
commit
dc37c8aaae
15 changed files with 104 additions and 68 deletions
|
@ -9,20 +9,20 @@
|
|||
%li.home{class: tab_class(:profile)}
|
||||
= link_to "Profile", profile_path
|
||||
|
||||
%li{class: tab_class(:password)}
|
||||
= link_to "Authentication", profile_password_path
|
||||
%li{class: tab_class(:account)}
|
||||
= link_to "Account", profile_account_path
|
||||
|
||||
%li{class: tab_class(:ssh_keys)}
|
||||
= link_to keys_path do
|
||||
SSH Keys
|
||||
%span.count= current_user.keys.count
|
||||
|
||||
%li{class: tab_class(:token)}
|
||||
= link_to "Token", profile_token_path
|
||||
|
||||
%li{class: tab_class(:design)}
|
||||
= link_to "Design", profile_design_path
|
||||
|
||||
%li{class: tab_class(:history)}
|
||||
= link_to "History", profile_history_path
|
||||
|
||||
|
||||
.content
|
||||
= yield
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue