2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Public Snippets"
|
2015-08-20 05:59:14 -04:00
|
|
|
- if current_user
|
|
|
|
= render 'head'
|
2013-07-13 01:45:48 -04:00
|
|
|
%h3.page-title
|
2013-03-24 18:18:39 -04:00
|
|
|
Public snippets
|
2013-06-18 10:43:49 -04:00
|
|
|
|
|
|
|
.pull-right
|
2014-10-08 09:44:25 -04:00
|
|
|
- if current_user
|
|
|
|
= link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do
|
|
|
|
Add new snippet
|
2011-12-07 18:35:57 -05:00
|
|
|
|
2013-08-01 15:35:40 -04:00
|
|
|
%p.light
|
|
|
|
Public snippets created by you and other users are listed here
|
|
|
|
|
2013-03-24 17:16:52 -04:00
|
|
|
%hr
|
2013-07-18 06:33:43 -04:00
|
|
|
= render 'snippets'
|
2013-03-24 18:18:39 -04:00
|
|
|
|