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
|
2009-09-28 13:53:56 +02:00
|
|
|
\# Ersten Punkt
|
2009-08-22 18:14:56 +02:00
|
|
|
%pre
|
2009-09-28 13:53:56 +02:00
|
|
|
\# Zweiter Punkt
|
2009-08-22 18:14:56 +02:00
|
|
|
%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
|
|
|
|
2011-05-18 15:25:05 +02:00
|
|
|
- simple_form_for @page do |f|
|
2009-05-15 13:54:42 +02:00
|
|
|
= f.hidden_field :lock_version
|
2011-05-18 15:25:05 +02:00
|
|
|
= f.input :title
|
|
|
|
= f.input :body, :input_html => {:size => "65x30"}
|
2009-03-25 19:54:04 +01:00
|
|
|
%p
|
2011-05-18 15:25:05 +02:00
|
|
|
= submit_tag "Vorschau", :name => 'preview'
|
2009-05-20 12:42:01 +02:00
|
|
|
|
|
2011-05-18 15:25:05 +02:00
|
|
|
= submit_tag "Speichern"
|
2009-03-25 19:54:04 +01:00
|
|
|
|
|
2009-08-22 18:14:56 +02:00
|
|
|
= link_to "Abbrechen", @page
|
2009-08-22 23:04:51 +02:00
|
|
|
| Oberseite ändern:
|
2010-07-08 10:57:42 +02:00
|
|
|
= collection_select(:page, :parent_id, parent_pages_to_select(@page), :id, :permalink, {:prompt => "Neue Oberseite?", :include_blank => true})
|
2009-08-22 18:14:56 +02:00
|
|
|
|
2009-08-22 23:04:51 +02:00
|
|
|
%div(style="clear:right; height:1px")
|