blob: cd65bf6f6819fd564a35f9e86c8722971aa12f9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
- page_title "Public Snippets"
- if current_user
= render 'head'
%h3.page-title
Public snippets
.pull-right
- if current_user
= link_to new_snippet_path, class: "btn btn-new btn-grouped", title: "New Snippet" do
Add new snippet
%p.light
Public snippets created by you and other users are listed here
%hr
= render 'snippets'
|