foodsoft/app/views/pages/new.html.haml

17 lines
438 B
Text
Raw Normal View History

- title "Neue Wikiseite anlegen", false
.wiki_new
#breadcrump
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
- parent_page = Page.find_by_permalink(params[:parent])
- if parent_page != nil
- for page in parent_page.ancestors.reverse
%span.wikiSeparator >
= link_to_wikipage(page)
%span.wikiSeparator >
= @page.title
%h1 Neue Wikiseite anlegen
= render :partial => 'form'