diff --git a/content/misc/tools/generator.de.md b/content/misc/tools/generator.de.md index 459d17a..79cbe0e 100644 --- a/content/misc/tools/generator.de.md +++ b/content/misc/tools/generator.de.md @@ -19,39 +19,11 @@ forms: input_type: text name: "Beschreibung/Summary" placeholder: "Wir feiern die 300jährige Tour und können das mit ca 30 Worten umreissen." - - - title: headline - input_type: buttons - name: "Überschrift" - target: "content" - - title: url - input_type: buttons - name: "URL" - target: "content" - - title: pic - input_type: buttons - name: "Bild" - target: "content" - - title: bold - input_type: buttons - name: "Fett" - target: "content" - - title: paragraph - input_type: buttons - name: "Absatz" - target: "content" - - title: newline - input_type: buttons - name: "Neue Zeile" - target: "content" - - title: more - input_type: buttons - name: "More" - target: "content" - - title: content input_type: textarea name: "Inhalt" + buttons: "headline,Überschrift;url,URL;pic,Bild;bold,Fett;paragraph,Absatz;newline,Neue Zeile;more,Mehr" + button_target: content required: true placeholder: "Einfach losschreiben. Der erste Absatz wird die Zusammenfassung in Artikelübersichten. Denke an die Formatierungshilfe hinter dem Link oben." - title: categories diff --git a/themes/buha/layouts/partials/layout/generator/form.html b/themes/buha/layouts/partials/layout/generator/form.html index d35e063..2834ff4 100644 --- a/themes/buha/layouts/partials/layout/generator/form.html +++ b/themes/buha/layouts/partials/layout/generator/form.html @@ -27,6 +27,15 @@ {{ else if eq .input_type "textarea" }}