%h3.page-title
  = image_tag avatar_icon(@user.email), class: "avatar s24"
  = @user.name
  %span
    \/
    Snippets
  - if current_user
    = link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do
      Add new snippet

%hr

= render 'snippets'
