gitlab-org--gitlab-foss/app/views/projects/wikis/edit.html.haml
Dmitriy Zaporozhets c466f389fa
Update tests to match new wiki header
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-09 00:56:45 +02:00

20 lines
415 B
Text

- page_title "Edit", @page.title.capitalize, "Wiki"
= render "header_title"
= render 'nav'
.top-area
.nav-text
%strong
- if @page.persisted?
= link_to @page.title.capitalize, namespace_project_wiki_path(@project.namespace, @project, @page)
- else
= @page.title.capitalize
%span.light
&middot;
Edit Page
.nav-controls
= render 'main_links'
= render 'form'