blob: 4e318c92db3a37245941b5840a1a307d37662ea4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
= render 'nav'
%h3.page_title
Editing page
= render 'main_links'
= render 'form'
.pull-right
- if @wiki.persisted? && 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 btn-small btn-remove" do
Delete this page
|