summaryrefslogtreecommitdiff
path: root/app/views/snippets/show.html.haml
blob: 69d8899d4c1d1467b2cb1e8f44261f62de2449f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- page_title @snippet.title, "Snippets"

.snippet-holder
  = render 'shared/snippets/header'

  %article.file-holder
    .file-title
      = blob_icon 0, @snippet.file_name
      %strong
        = @snippet.file_name
      .file-actions.hidden-xs
        .btn-group.tree-btn-group
          = link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank"
    = render 'shared/snippets/blob'