2015-04-30 17:06:18 +00:00
- page_title "Edit", @page.title, "Wiki"
2015-09-17 10:16:24 +00:00
= render "header_title"
2013-06-23 16:47:22 +00:00
= render 'nav'
2014-01-01 20:59:06 +00:00
.pull-right
= render 'main_links'
2013-07-13 05:45:48 +00:00
%h3.page-title
2014-01-01 20:44:30 +00:00
Editing -
2014-04-09 05:14:16 +00:00
%span.light #{@page.title}
2014-01-01 20:44:30 +00:00
%hr
2012-02-19 14:35:31 +00:00
= render 'form'
2013-01-11 19:03:43 +00:00
2013-01-30 14:40:43 +00:00
.pull-right
2014-04-09 11:35:01 +00:00
- if @page.persisted? && can?(current_user, :admin_wiki, @project)
2015-03-14 07:29:32 +00:00
= link_to namespace_project_wiki_path(@project.namespace, @project, @page), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-sm btn-remove" do
2013-03-14 20:24:27 +00:00
Delete this page