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
|
2009-08-19 22:59:53 +02:00
|
|
|
= link_to_wikipage_by_permalink("Home", "Foodcoop-Wiki")
|
2009-08-16 01:09:11 +02:00
|
|
|
- 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'
|