blob: e60f9a44322d2ade2e2f0f8d4ef0e1d60fd6c168 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
%h3.page-title
Snippets
- if can? current_user, :write_project_snippet, @project
= link_to new_project_snippet_path(@project), class: "btn btn-new pull-right", title: "New Snippet" do
Add new snippet
%p.light
Share code pastes with others out of git repository
%hr
%ul.bordered-list
= render partial: "projects/snippets/snippet", collection: @snippets
- if @snippets.empty?
%li
.nothing-here-block Nothing here.
|