2009-08-16 01:09:11 +02:00
|
|
|
- title "Neue Wikiseite anlegen", false
|
2009-03-25 19:54:04 +01:00
|
|
|
|
2009-08-16 01:09:11 +02:00
|
|
|
.wiki_new
|
|
|
|
#breadcrump
|
|
|
|
= link_to_wikipage(Page.find_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'
|