show.html.haml 319 Bytes
Newer Older
Douwe Maan's avatar
Douwe Maan committed
1
- page_title @snippet.title, "Snippets"
2
= render 'shared/snippets/header'
3

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
4
5
.file-holder
  .file-title
6
    %i.fa.fa-file
7
    %strong
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8
      = @snippet.file_name
9
    .file-actions
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10
      .btn-group
11
        = link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12
  = render 'shared/snippets/blob'