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