Skip to content
This repository has been archived by the owner on Aug 12, 2019. It is now read-only.

Commit

Permalink
Bs3FormRenderer: form errors are rendered in BS3 alert messages
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelkouril committed Dec 4, 2015
1 parent 5406d69 commit 36b1217
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Rendering/Bs3FormRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public function __construct()
$this->wrappers['label']['container'] = 'div class="col-sm-3 control-label"';
$this->wrappers['control']['description'] = 'span class=help-block';
$this->wrappers['control']['errorcontainer'] = 'span class=help-block';
$this->wrappers['error']['container'] = null;
$this->wrappers['error']['item'] = 'div class="alert alert-danger"';
}


Expand Down

0 comments on commit 36b1217

Please sign in to comment.