gitlabhq/app/views/wikis/edit.html.haml

11 lines
364 B
Plaintext
Raw Normal View History

= render 'wikis/nav'
%h3.page_title
Editing page
= render partial: 'main_links'
2012-02-19 15:35:31 +01:00
= render 'form'
2013-01-30 15:40:43 +01:00
.pull-right
- if @wiki.persisted? && can?(current_user, :admin_wiki, @project)
2013-01-29 21:29:21 +01: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