2009-05-20 12:42:01 +02:00
|
|
|
- if params[:preview]
|
|
|
|
%h2 Vorschau
|
|
|
|
#preview= render :partial => 'body'
|
|
|
|
|
2009-05-13 17:32:43 +02:00
|
|
|
#wiki-syntax-help{:style => "float:right"}
|
|
|
|
%p
|
|
|
|
%b Schnelle Formatierungshilfe
|
|
|
|
%br/
|
|
|
|
:plain
|
2009-08-11 14:41:58 +02:00
|
|
|
[[Foodsoft Wiki Seite]]<br />
|
|
|
|
[http://addresse.net Externe Seite]<br />
|
|
|
|
==Erste Überschrift==<br />
|
|
|
|
===Unterüberschrift===<br />
|
|
|
|
''kursiv''<br />
|
|
|
|
'''Fett'''<br />
|
|
|
|
* Erster Listenpunkt<br />
|
|
|
|
* Zweiter Listenpunkt<br />
|
|
|
|
** Unterpunkt<br />
|
|
|
|
= link_to "Tabellen", "http://www.mediawiki.org/wiki/Help:Tables", :target => '_blank'
|
2009-05-13 17:32:43 +02:00
|
|
|
|
2009-03-25 19:54:04 +01:00
|
|
|
- form_for @page do |f|
|
|
|
|
= f.error_messages
|
2009-05-15 13:54:42 +02:00
|
|
|
= f.hidden_field :lock_version
|
2009-08-12 18:41:25 +02:00
|
|
|
= f.hidden_field :parent_id
|
2009-03-25 19:54:04 +01:00
|
|
|
%p
|
2009-08-12 18:41:25 +02:00
|
|
|
%b Titel
|
2009-03-25 19:54:04 +01:00
|
|
|
%br/
|
|
|
|
= f.text_field :title
|
|
|
|
%p
|
|
|
|
%b Inhalt
|
|
|
|
%br/
|
|
|
|
= f.text_area :body, :size => "60x30"
|
|
|
|
%p
|
2009-05-20 12:42:01 +02:00
|
|
|
= f.submit "Vorschau", :name => 'preview'
|
|
|
|
|
|
2009-03-25 19:54:04 +01:00
|
|
|
= f.submit "Speichern"
|
|
|
|
|
|
|
|
|
= link_to "Abbrechen", :back
|