Commit ae29e9855bf792241d2885ed6b00540ff10128fe

Authored by Yarik
1 parent aa182b5c

test

frontend/views/accounts/_blog_form.php
... ... @@ -27,6 +27,7 @@
27 27  
28 28 <?= $form->field($blog, 'description')->widget(CKEditor::className()) ?>
29 29  
  30 +<?php /*
30 31 <?= ImageUploader::widget([
31 32 'model'=> $blog,
32 33 'field'=>'cover',
... ... @@ -37,6 +38,7 @@
37 38 'name' => 'Загрузить главное фото'
38 39 ]);
39 40 ?>
  41 + */ ?>
40 42  
41 43 <?= Html::submitButton('Добавить') ?>
42 44  
... ...
frontend/views/accounts/_projects_form.php
... ... @@ -29,7 +29,7 @@
29 29 ->textInput() ?>
30 30  
31 31 <?= $form->field($project, 'project_pid')
32   - ->dropDownList($projects) ?>
  32 + ->dropDownList($projects, ['prompt' => 'Родительский проект']) ?>
33 33  
34 34 <?= $form->field($project, 'specializationInput')
35 35 ->checkboxList($specialization) ?>
... ...