2009-05-20 12:42:01 +02:00
|
|
|
- if params[:preview]
|
2012-10-09 02:31:10 +02:00
|
|
|
%section#wikiContent
|
|
|
|
= render 'body'
|
2009-05-20 12:42:01 +02:00
|
|
|
|
2012-10-09 02:31:10 +02:00
|
|
|
.row-fluid
|
|
|
|
.span8
|
|
|
|
= simple_form_for @page do |f|
|
|
|
|
= f.hidden_field :lock_version
|
|
|
|
= f.input :title, input_html: {class: 'input-xxlarge'}
|
|
|
|
= f.input :body, input_html: {class: 'input-xxlarge'}
|
|
|
|
= f.input :parent_id, as: :select, collection: parent_pages_to_select(@page)
|
|
|
|
.form-actions
|
|
|
|
= button_tag :name => 'preview', class: 'btn' do
|
|
|
|
%i.icon-search
|
|
|
|
Vorschau
|
|
|
|
= button_tag class: 'btn' do
|
|
|
|
%i.icon-save
|
|
|
|
Speichern
|
|
|
|
= link_to "oder abbrechen", @page
|
|
|
|
|
|
|
|
.span4
|
|
|
|
%h3 Schnelle Formatierungshilfe
|
|
|
|
%table.table
|
2009-08-22 18:14:56 +02:00
|
|
|
%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
|
|
|
|