show.html.haml 305 Bytes
Newer Older
1
%h3.page_title
2
3
4
  - if @snippet.private?
    %i.icon-lock
  - else
Andrew8xx8's avatar
Andrew8xx8 committed
5
    %i.icon-globe
6

7
8
  = @snippet.title
  %small= @snippet.file_name
9
10
  - if @snippet.author == current_user
    = link_to "Edit", edit_snippet_path(@snippet), class: "btn btn-small pull-right", title: 'Edit Snippet'
gitlabhq's avatar
gitlabhq committed
11

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12
%br
13
%div= render 'blob'