refactor buttons pt2
This commit is contained in:
parent
033aa1a885
commit
fb617c61b9
49 changed files with 90 additions and 90 deletions
|
@ -4,7 +4,7 @@
|
|||
= @snippet.title
|
||||
%small= @snippet.file_name
|
||||
- if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user
|
||||
= link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn small right"
|
||||
= link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small right"
|
||||
|
||||
%br
|
||||
%div= render 'blob'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue