%h3.page_title Editing page
%hr
= render 'form'

.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
      Delete this page