% throw_content :for_sidebar do -%>
<% if @author.id == session[:author_id] or allowed_to?(:edit_author, @author) -%> Edit Author
<% end %>
<% if allowed_to?(:delete_authors) -%> Destroy Author
<% end %>
<% unless @author.url.to_s.empty? -%> Home URL
<% end -%>
<% if allowed_to?(:change_permissions) -%> Change Permissions
<% end %>
<% end -%>