Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $attributes = [
- ...
- 'birthday',
- ...
- ];
- echo DetailView::widget([
- 'model'=>$model,
- 'attributes'=>$attributes,
- 'condensed'=>true,
- 'hover'=>true,
- 'hAlign'=>'left',
- 'mode'=>DetailView::MODE_VIEW,
- 'panel'=>[
- 'heading'=>'Анкета # ' . $model->id,
- 'type'=>DetailView::TYPE_INFO,
- ]
- echo DatePicker::widget([
- 'name' => 'dp_3',
- 'type' => DatePicker::TYPE_COMPONENT_APPEND,
- 'pluginOptions' => [
- 'autoclose'=>true,
- 'format' => 'dd-M-yyyy'
- ]
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement