9abd871a03
Altered specs that click capitalised New Snippet button Applied review feedback missed in Changes `.no-comment` `opactiy: 0.5` to `opacity: .5` Added `.btn-wide-on-xs` and applied to snippet buttons
17 lines
429 B
Text
17 lines
429 B
Text
- page_title "Snippets"
|
|
- header_title "Snippets", snippets_path
|
|
|
|
- if current_user
|
|
= render 'dashboard/snippets_head'
|
|
- else
|
|
= render 'explore/head'
|
|
|
|
.row-content-block
|
|
- if current_user
|
|
= link_to new_snippet_path, class: "btn btn-new btn-wide-on-sm pull-right", title: "New snippet" do
|
|
New snippet
|
|
|
|
.oneline
|
|
Public snippets created by you and other users are listed here
|
|
|
|
= render 'snippets/snippets'
|