show.html.haml 510 Bytes
Newer Older
Douwe Maan's avatar
Douwe Maan committed
1
- page_title @snippet.title, "Snippets"
2

3
4
5
.snippet-holder
  = render 'shared/snippets/header'

Phil Hughes's avatar
Phil Hughes committed
6
7
  %article.file-holder.file-holder-no-border.snippet-file-content
    .file-title.file-title-clear
8
      = blob_icon 0, @snippet.file_name
Phil Hughes's avatar
Phil Hughes committed
9
      = @snippet.file_name
10
      .file-actions.hidden-xs
11
12
        = clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']")
        = link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank"
13
    = render 'shared/snippets/blob'