blob: 47b236083b36fcf7ff649a17ae9193f416e76087 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
= render 'nav'
.pull-right
= render 'main_links'
%h3.page-title
Editing -
%span.light #{@wiki.title.titleize}
%hr
= render 'form'
.pull-right
- if @wiki.persisted? && can?(current_user, :admin_wiki, @project)
= link_to project_wiki_path(@project, @wiki), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-small btn-remove" do
Delete this page
|