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