Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
inject errors into container
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolineus committed Jun 23, 2014
1 parent 50fb6ac commit 058a621
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Netzmacht/Bootstrap/Form/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ public function generate(GenerateEvent $event)
$this->setColumnLayout($widget, $container, $label);
$this->adjustElement($event, $element, $widget, $container);
$this->addInputGroup($widget, $container, $element);

// inject errors into container
$container->addChild('errors', $errors);
}


Expand Down

0 comments on commit 058a621

Please sign in to comment.