<% @page_title = "Account" -%>

Account details <%= link_to "edit", edit_account_path -%>

Your SSH Keys:

<% current_user.ssh_keys.each do |ssh_key| -%> <%= render :partial => "keys/key", :locals => {:ssh_key => ssh_key} -%> <% unless ssh_key == current_user.ssh_keys.last -%>
<% end -%> <% end -%> <% content_for :submenu do -%>
  • <%= link_to "Edit details", edit_account_path -%>
  • <%= link_to "Add SSH key", new_account_key_path -%>
  • <% end -%>