show.html.haml 344 Bytes
Newer Older
1
%h3.page_title
2
3
4
  = @snippet.title
  %small= @snippet.file_name
  - if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user
5
    = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small pull-right", title: 'Edit Snippet'
gitlabhq's avatar
gitlabhq committed
6

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
7
%br
8
%div= render 'blob'
Riyad Preukschas's avatar
Riyad Preukschas committed
9
%div#notes= render "notes/notes_with_form"