title = 'Мой профиль'; $this->params[ 'breadcrumbs' ][] = $this->title; ?>

title ?>

field($project, 'name') ->textInput() ?> field($project, 'link') ->textInput() ?> field($project, 'project_pid') ->dropDownList($projects, [ 'prompt' => 'Родительский проект' ]) ?> field($project, 'specializationInput') ->checkboxList($specialization) ?>
Адрес: field($project, 'city') ->widget(Select2::classname(), [ 'options' => [ 'placeholder' => 'Выбор города ...' ], 'pluginOptions' => [ 'allowClear' => true, 'minimumInputLength' => 3, 'ajax' => [ 'url' => \yii\helpers\Url::to([ 'site/city' ]), 'dataType' => 'json', 'data' => new JsExpression('function(params) { return {q:params.term}; }'), ], 'escapeMarkup' => new JsExpression('function (markup) { return markup; }'), 'templateResult' => new JsExpression('function(city) { return city.text; }'), 'templateSelection' => new JsExpression('function (city) { return city.text; }'), ], ]); ?> field($project, 'street', [ 'template' => "{label}{input}{hint}{error}" ]) ->textInput() ?> field($project, 'house', [ 'template' => "{label}{input}{hint}{error}" ]) ->textInput() ?>
field($project, 'budget') ->textInput() ?> field($project, 'contractual') ->checkbox() ?> field($project, 'payment_variant') ->radioList([ 1 => 'Без предоплаты', 2 => 'Предоплата возможна', ]) ?> field($project, 'paymentInput') ->checkboxList($payment) ?> field($project, 'deadline', [ 'template' => "{label}{input} дней\n{hint}\n{error}" ]) ->input('number') ?> field($project, 'description') ->widget(CKEditor::className()) ?> field($project, 'file') ->fileInput([ 'multiple' => 'multiple' ]) ?> field($project, 'date_end') ->dropDownList([ 1 => 'Неделя', 2 => '2 неделю', 3 => 'Месяц', ]) ?> end(); ?>