2009-05-20 12:42:01 +02:00
|
|
|
- if params[:preview]
|
|
|
|
%h2 Vorschau
|
|
|
|
#preview= render :partial => 'body'
|
|
|
|
|
2009-08-15 15:08:02 +02:00
|
|
|
#wiki-syntax-help
|
2009-08-22 18:14:56 +02:00
|
|
|
.box_title
|
|
|
|
%h2 Schnelle Formatierungshilfe
|
|
|
|
.column_content
|
|
|
|
%table(frame="void")
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td(colspan=2)
|
|
|
|
%b Zeichenformatierung
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%i kursiv
|
|
|
|
%td
|
|
|
|
%pre
|
|
|
|
''kursiv''<br />
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%b fett
|
|
|
|
%td
|
|
|
|
%pre '''Fett'''<br />
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Keine Wiki-<br/>Formatierung
|
|
|
|
%td
|
|
|
|
%pre <nowiki>text</nowiki>
|
|
|
|
%tr
|
|
|
|
%td(colspan=2)
|
|
|
|
%b Block-Formatierung
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Überschriften
|
|
|
|
%td
|
|
|
|
%pre
|
|
|
|
\== Ebene 1 ==
|
|
|
|
%pre
|
|
|
|
\=== Ebene 2 ===
|
|
|
|
%pre
|
|
|
|
\==== Ebene 3 ====
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Listen mit Punkten
|
|
|
|
%td
|
|
|
|
%pre
|
|
|
|
* Erster Punkt
|
|
|
|
%pre
|
|
|
|
** Zweiter Punkt
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Listen mit Zahlen
|
|
|
|
%td
|
|
|
|
%pre
|
|
|
|
1. Ersten Punkt
|
|
|
|
%pre
|
|
|
|
1. Zweiter Punkt
|
|
|
|
%tr
|
|
|
|
%td(colspan=2)
|
|
|
|
%b Link-Formatierung
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Wiki-Links
|
|
|
|
%td
|
|
|
|
%pre
|
|
|
|
[[Foodsoft Wiki Seite]]
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Externe Links
|
|
|
|
%td
|
|
|
|
%pre
|
|
|
|
[http://addresse.net Externe Seite]
|
|
|
|
%tr
|
|
|
|
%td(colspan=2)
|
|
|
|
%b Tabellenformatierung
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
Siehe
|
|
|
|
= 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-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/
|
2009-08-22 23:04:51 +02:00
|
|
|
= f.text_area :body, :size => "65x30"
|
2009-03-25 19:54:04 +01:00
|
|
|
%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"
|
|
|
|
|
|
2009-08-22 18:14:56 +02:00
|
|
|
= link_to "Abbrechen", @page
|
2009-08-22 23:04:51 +02:00
|
|
|
| Oberseite ändern:
|
|
|
|
= collection_select(:page, :parent_id, Page.all, :id, :permalink, {:prompt => "Neue Oberseite?"})
|
2009-08-22 18:14:56 +02:00
|
|
|
|
2009-08-22 23:04:51 +02:00
|
|
|
%div(style="clear:right; height:1px")
|