71ab011a17
Conflicts: app/views/layouts/project_resource.html.haml app/views/wikis/edit.html.haml app/views/wikis/pages.html.haml app/views/wikis/show.html.haml spec/features/gitlab_flavored_markdown_spec.rb
9 lines
343 B
Text
9 lines
343 B
Text
%h3.page_title
|
|
Editing page
|
|
= render partial: 'main_links'
|
|
= render 'form'
|
|
|
|
.pull-right
|
|
- if @wiki.persisted? && can?(current_user, :admin_wiki, @project)
|
|
= 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
|