Skip to content

Commit

Permalink
Fixed awful mistake 💩
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom32i committed Feb 9, 2016
1 parent 6b850f7 commit b985eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Form/Extension/CollectionTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function configureOptions(OptionsResolver $resolver)
public function finishView(FormView $view, FormInterface $form, array $options)
{
foreach ($view as $child) {
$this->addBlockPrefix($view, 'collection_item');
$this->addBlockPrefix($view, $form->getName() . '_item');
$this->addBlockPrefix($child, 'collection_item');
$this->addBlockPrefix($child, $form->getName() . '_item');
}

if ($options['allow_add'] && $options['prototype']) {
Expand Down

0 comments on commit b985eda

Please sign in to comment.