21 lines
368 B
PHP
21 lines
368 B
PHP
<?php
|
|
/**
|
|
* @var $model \yii\db\ActiveRecord
|
|
*/
|
|
use yii\jui\DatePicker;
|
|
|
|
echo DatePicker::widget([
|
|
'model' => $model,
|
|
'attribute' => 'dt_from',
|
|
'language' => 'ru',
|
|
'dateFormat' => 'dd-MM-yyyy',
|
|
]);
|
|
|
|
echo " - ";
|
|
|
|
echo DatePicker::widget([
|
|
'model' => $model,
|
|
'attribute' => 'dt_to',
|
|
'language' => 'ru',
|
|
'dateFormat' => 'dd-MM-yyyy',
|
|
]); |