Finishing updates to make PHPCI use Bootstrap v3, as per issue #99

This commit is contained in:
Dan Cryer 2013-07-31 21:04:34 +01:00
commit eac86ff2bd
7 changed files with 29 additions and 43 deletions

View file

@ -48,12 +48,14 @@ class SessionController extends \PHPCI\Controller
$email->setLabel('Email Address');
$email->setRequired(true);
$email->setContainerClass('form-group');
$email->setClass('form-control');
$form->addField($email);
$pwd = new b8\Form\Element\Password('password');
$pwd->setLabel('Password');
$pwd->setRequired(true);
$pwd->setContainerClass('form-group');
$pwd->setClass('form-control');
$form->addField($pwd);
$pwd = new b8\Form\Element\Submit();