- @no_container = true - page_title "Edit", @page.title.capitalize, "Wiki" = render 'nav' %div{ class: (container_class) } .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 · Edit Page .nav-controls - if can?(current_user, :create_wiki, @project) = link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do New Page = render 'main_links' = render 'form'