refactor buttons pt1
This commit is contained in:
parent
9fdbdc662a
commit
033aa1a885
75 changed files with 139 additions and 150 deletions
|
@ -23,5 +23,5 @@
|
|||
= f.label :content
|
||||
.input= f.text_area :content, class: 'span8 js-gfm-input'
|
||||
.actions
|
||||
= f.submit 'Save', class: "save-btn btn"
|
||||
= link_to "Cancel", project_wiki_path(@project, :index), class: "btn cancel-btn"
|
||||
= f.submit 'Save', class: "btn-save btn"
|
||||
= link_to "Cancel", project_wiki_path(@project, :index), class: "btn btn-cancel"
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
.right
|
||||
- if can? current_user, :admin_wiki, @project
|
||||
= link_to project_wiki_path(@project, @wiki), confirm: "Are you sure you want to delete this page?", method: :delete, class: "btn small danger" do
|
||||
= link_to project_wiki_path(@project, @wiki), confirm: "Are you sure you want to delete this page?", method: :delete, class: "btn small btn-remove" do
|
||||
Delete this page
|
Loading…
Add table
Add a link
Reference in a new issue