summaryrefslogtreecommitdiff
path: root/app/views/snippets/index.html.haml
blob: dc45cfacd840aaee93e0e2d30dd3059e4ebb5dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- page_title "Public Snippets"
= 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'