gitlab-org--gitlab-foss/app/views/projects/wikis/edit.html.haml

14 lines
427 B
Text
Raw Normal View History

= render 'nav'
.pull-right
= render 'main_links'
%h3.page-title
Editing -
%span.light #{@page.title}
%hr
2012-02-19 09:35:31 -05:00
= render 'form'
2013-01-30 09:40:43 -05:00
.pull-right
- if @page.persisted? && can?(current_user, :admin_wiki, @project)
2015-03-14 03:29:32 -04: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
Delete this page