Klimov Paul
7 years ago
4 changed files with 75 additions and 3 deletions
@ -0,0 +1,23 @@
|
||||
<?php |
||||
|
||||
namespace yiiunit\extensions\bootstrap\data; |
||||
|
||||
use yii\bootstrap\ActiveField; |
||||
|
||||
/** |
||||
* A customized extension from ActiveField |
||||
* |
||||
* @see \yiiunit\extensions\bootstrap\ActiveFieldTest::testHorizontalCssClassesOverride() |
||||
* |
||||
* @author Michael Härtl <haertl.mike@gmail.com> |
||||
*/ |
||||
class ExtendedActiveField extends ActiveField |
||||
{ |
||||
public $horizontalCssClasses = [ |
||||
'offset' => 'col-md-offset-4', |
||||
'label' => 'col-md-4', |
||||
'wrapper' => 'col-md-6', |
||||
'error' => 'col-md-3', |
||||
'hint' => 'col-md-3', |
||||
]; |
||||
} |
Loading…
Reference in new issue