Преглед на файлове

[Form] Set prototype to true by default.

Benjamin Eberlei преди 14 години
родител
ревизия
f9e2864030
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Component/Form/Type/CollectionType.php

+ 1 - 1
src/Symfony/Component/Form/Type/CollectionType.php

@@ -36,7 +36,7 @@ class CollectionType extends AbstractType
         return array(
             'template' => 'collection',
             'modifiable' => false,
-            'prototype'  => false,
+            'prototype'  => true,
             'type' => 'text',
         );
     }