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

11 lines
349 B
Text
Raw Normal View History

= render 'nav'
%h3.page-title
Editing page
2013-06-22 08:04:49 -04:00
= render 'main_links'
2012-02-19 09:35:31 -05:00
= render 'form'
2013-01-30 09:40:43 -05:00
.pull-right
- if @wiki.persisted? && can?(current_user, :admin_wiki, @project)
2013-01-29 15:29:21 -05:00
= 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