Welcome to mirror list, hosted at ThFree Co, Russian Federation.

edit.html.haml « wikis « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 566850cb78d3487b10593cc71ae2aa8e41c3d203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
= render 'nav'
.pull-right
  = render 'main_links'
%h3.page-title
  Editing -
  %span.light #{@page.title}
%hr
= render 'form'

.pull-right
  - if @page.persisted? && can?(current_user, :admin_wiki, @project)
    = 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