foodsoft/app/views/pages/new.html.haml
sandoz 8927a80246 You can change the page parent now at pages/edit.
* Increased text area size for better layout with the new feature.
* Closes #39
2009-08-22 23:04:51 +02:00

16 lines
438 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'