gitlab-org--gitlab-foss/app/views/projects/wikis/edit.html.haml
Dmitriy Zaporozhets a843ee7ece
Fix votes block. twbs3 progress bars
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-01 22:59:06 +02:00

13 lines
409 B
Text

= render 'nav'
.pull-right
= render 'main_links'
%h3.page-title
Editing -
%span.light #{@wiki.title.titleize}
%hr
= render 'form'
.pull-right
- if @wiki.persisted? && can?(current_user, :admin_wiki, @project)
= link_to project_wiki_path(@project, @wiki), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-small btn-remove" do
Delete this page