debian-mirror-gitlab/app/views/projects/wikis/edit.html.haml

17 lines
493 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Edit", @page.title, "Wiki"
2015-09-25 12:07:36 +05:30
= render "header_title"
2014-09-02 18:07:02 +05:30
= 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)
2015-04-26 12:48:37 +05:30
= 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
2014-09-02 18:07:02 +05:30
Delete this page