2013-07-13 01:45:48 -04:00
|
|
|
%h3.page-title
|
2013-10-06 14:13:56 -04:00
|
|
|
= image_tag avatar_icon(@user.email), class: "avatar s24"
|
2013-03-24 17:16:52 -04:00
|
|
|
= @user.name
|
2013-06-05 15:25:27 -04:00
|
|
|
%span
|
|
|
|
\/
|
|
|
|
Snippets
|
2014-10-08 09:44:25 -04:00
|
|
|
- if current_user
|
|
|
|
= link_to new_snippet_path, class: "btn btn-small add_new pull-right", title: "New Snippet" do
|
|
|
|
Add new snippet
|
2013-03-24 17:16:52 -04:00
|
|
|
|
|
|
|
%hr
|
|
|
|
|
2013-06-05 15:25:27 -04:00
|
|
|
= render 'snippets'
|