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

16 lines
No EOL
437 B
Text

- 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'