title = 'Редактирование участия в заказе'; $this->params[ 'breadcrumbs' ][] = $this->title; ?>
title ?>
Редактировать информацию о себе:
status != 1) { ?>
field($model, 'position') ->textInput([ 'class' => 'custom-input-2' ]); ?>
field($model, 'time') ->textInput([ 'class' => 'custom-input-2', 'type' => 'number', 'min' => 0, ]) ?>
Добавить фотографию в личный альбом данного проекта:
status == 1 && !empty( $model->gallery )) { echo $form->field($model->portfolioGallery, 'caption') ->widget(CKEditor::className(), [ 'editorOptions' => [ 'preset' => 'basic' ] ]); echo Html::tag('div', ImageUploader::widget([ 'model' => $model->gallery, 'field' => 'photo', 'size' => [ [ 'width' => 152, 'height' => 108, ], ], 'multi' => true, 'gallery' => $model->gallery->photo, 'name' => 'Загрузить фото галереи', ]), [ 'class' => 'admin-gallery-photos-load-wr style' ]); } else { echo Html::tag('p', 'Для добавления фотографий Вы должны подтвердить свое участие'); } ?>
end(); ?>
status != 1) { // ?> field($model, 'position') // ->textInput(); // echo $form->field($model, 'time') // ->input('number'); // ?> status == 1 && !empty( $model->gallery )) { // echo $form->field($model->portfolioGallery, 'caption') // ->widget(CKEditor::className(), [ 'editorOptions' => [ 'preset' => 'basic' ] ]); // echo Html::tag('div', ImageUploader::widget([ // 'model' => $model->gallery, // 'field' => 'photo', // 'size' => [ // [ // 'width' => 152, // 'height' => 108, // ], // ], // 'multi' => true, // 'gallery' => $model->gallery->photo, // 'name' => 'Загрузить фото галереи', // ]), [ 'class' => 'admin-gallery-photos-load-wr style' ]); // } else { // echo Html::tag('p', 'Для добавления фотографий Вы должны подтвердить свое участие'); // } // ?> end(); // ?>