2012-07-26 11:45:17 +00:00
|
|
|
%h3.page_title Editing page
|
2012-02-21 20:04:01 +00:00
|
|
|
%hr
|
2012-02-19 14:35:31 +00:00
|
|
|
= render 'form'
|
2013-01-11 19:03:43 +00:00
|
|
|
|
|
|
|
.right
|
|
|
|
- if can? current_user, :admin_wiki, @project
|
2013-01-29 20:18:19 +00:00
|
|
|
= 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
|
2013-01-11 19:03:43 +00:00
|
|
|
Delete this page
|