You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
539 B
23 lines
539 B
7 years ago
|
<?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',
|
||
|
];
|
||
|
}
|