title = 'Портфолио'; $this->params[ 'breadcrumbs' ][] = $this->title; ?>
title ?>
date_add ) ? "Дата создания: $portfolio->date_add" : "" ?>
field($portfolio, 'name') ->textInput([ 'class' => 'custom-input-2 fix-input-2' ]); ?>
Необходимо выбрать хотя бы одну «специализацию».
Фото главное
field($portfolio, 'cover') ->widget(ImageUploaderInput::className(), [ 'size' => [ [ 'width' => 720, 'height' => 280, ], [ 'width' => 318, 'height' => 228, ], [ 'width' => 152, 'height' => 108, ], [ 'width' => 210, 'height' => 150, ], ], 'multi' => false, 'gallery' => $portfolio->cover, 'name' => 'Загрузить фото', ]); ?>
field($portfolio, 'gallery_id') ->hint("

Для создания галереи перейдите по " . Html::a('ссылке', [ 'accounts/gallery-create' ], [ 'target' => '_BLANK' ]) . "

") ->dropDownList($galleries, [ 'prompt' => 'Выберите галерею' ]) ?>
field($portfolio, 'city') ->widget(Select2::classname(), [ 'options' => [ 'class' => 'Выбор города ...' ], '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($portfolio, 'street', [ 'options' => [ 'class' => 'form-group company_info' ] ]) ->label('Улица') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field($portfolio, 'house', [ 'options' => [ 'class' => 'form-group company_info' ] ]) ->label('Дом') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field($portfolio, 'preview') ->widget(CKEditor::className(), [ 'editorOptions' => [ 'preset' => 'basic' ] ]) ?>
field($portfolio, 'description') ->widget(CKEditor::className()) ?>

Добавить пользователя

'add_project_user_link' ]) ?>

Отправлено предложение:

render('@frontend/views/ajax/project_user', [ 'model' => $portfolioUser, 'user' => $portfolioUser->user, ]); } ?>

Подтвержденные:

render('@frontend/views/ajax/project_user', [ 'model' => $portfolioUserConfirmed, 'user' => $portfolioUserConfirmed->user, ]); } ?>
isNewRecord ? Yii::t('app', 'add') : 'Обновить', [ 'class' => 'input-blocks-wrapper button' ]) ?>
isNewRecord) { echo Html::a(Yii::t('app', 'delete'), [ 'accounts/portfolio-delete', 'id' => $portfolio->portfolio_id, ], [ 'title' => Yii::t('app', 'delete'), 'aria-label' => Yii::t('app', 'delete'), 'data-confirm' => Yii::t('app', 'delete_confirm'), 'data-method' => 'post', 'data-pjax' => 0, ]); } ?>
request->referrer) ? \Yii::$app->request->referrer : [ 'accounts/portfolio' ]) ?>
end(); ?>