]> _ Git - pmi.git/commitdiff
Convert textarea to markdown | wip #2742 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Jul 2019 13:01:20 +0000 (15:01 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Jul 2019 13:01:20 +0000 (15:01 +0200)
app/SubForms/Intro.php

index 002f120289a1a19f9956ee9574822bb6ebe34db1..514ac8de0093e3ba0360141fa73e46590e032a29 100644 (file)
@@ -13,14 +13,14 @@ class Intro extends SubForm
         parent::init();
         $this->addField(['name' => 'title',
             'label' => 'Titre',
-            'type' => 'Markdown',
+            'type' => 'Textarea',
             'attributes' => [
                 'rows' => '2', // Sometimes we need to put line breaks in titles, hence the textarea
             ]]);
 
         $this->addField(['name' => 'text',
             'label' => 'Texte',
-            'type' => 'Textarea',
+            'type' => 'Markdown',
             'attributes' => [
                 'rows' => 10,
             ]]);