2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Snippets", @user.name
|
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
|
2015-03-14 03:29:32 -04:00
|
|
|
= link_to new_snippet_path, class: "btn btn-sm add_new pull-right", title: "New Snippet" do
|
2014-10-08 09:44:25 -04:00
|
|
|
Add new snippet
|
2013-03-24 17:16:52 -04:00
|
|
|
|
|
|
|
%hr
|
|
|
|
|
2013-06-05 15:25:27 -04:00
|
|
|
= render 'snippets'
|