%#
# @file
# The inner HTML of the account box that comes up in the bottom left
#%>
<% account = current_user %>
<%= image_tag user.image.url(:thumb), :size => "48x48", :class => "sidebarAccountImage" %>
-
<%= link_to "Account", edit_user_url(account), :data => { :bypass => 'true'} %>
<% if account.admin %>
-
<%= link_to "Admin", metacodes_path, :data => { :bypass => 'true'} %>
<% end %>
-
<%= link_to "Sign Out", "/logout", id: "Logout", :data => { :bypass => 'true'} %>