diff --git a/frontend/views/accounts/_projects_form.php b/frontend/views/accounts/_projects_form.php
index d70f21a..46cacaf 100644
--- a/frontend/views/accounts/_projects_form.php
+++ b/frontend/views/accounts/_projects_form.php
@@ -1,46 +1,46 @@
title = 'Проекты';
- $this->params[ 'breadcrumbs' ][] = $this->title;
+/**
+ * @var Project $project
+ * @var Specialization[] $specialization
+ * @var Payment[] $payment
+ * @var string[] $projects
+ */
+use common\components\Request;
+use common\models\Currency;
+use common\models\File;
+use common\models\Payment;
+use common\models\Project;
+use common\models\Specialization;
+use common\modules\file\widgets\ImageUploader;
+use common\modules\fileloader\widgets\FileloaderWidget;
+use kartik\select2\Select2;
+use mihaildev\ckeditor\CKEditor;
+use yii\helpers\Html;
+use yii\jui\DatePicker;
+use yii\web\JsExpression;
+use yii\widgets\ActiveForm;
+
+$this->title = 'Проекты';
+$this->params[ 'breadcrumbs' ][] = $this->title;
?>
= $this->title ?>
[ 'enctype' => 'multipart/form-data' ] ]);
+$form = ActiveForm::begin([ 'options' => [ 'enctype' => 'multipart/form-data' ] ]);
?>
@@ -68,13 +68,13 @@
= $form->field($project, "specializationInput[{$child_second->specialization_id}]", [
'template' => '{input}{label}{hint}{error}',
])
- ->label('' . $child_second->specialization_name)
- ->checkbox([
- 'value' => $child_second->specialization_id,
- 'label' => NULL,
- 'uncheck' => NULL,
- 'class' => 'custom-check',
- ], false) ?>
+ ->label('' . $child_second->specialization_name)
+ ->checkbox([
+ 'value' => $child_second->specialization_id,
+ 'label' => NULL,
+ 'uncheck' => NULL,
+ 'class' => 'custom-check',
+ ], false) ?>
@@ -104,33 +104,33 @@
@@ -140,20 +140,20 @@
= $form->field($project, 'budget', [
'template' => "{label}
{input}\n{hint}\n{error}",
])
- ->textInput([
- 'class' => 'custom-input-2 custom-input-2-date',
- 'type' => 'number',
- ]) ?>
+ ->textInput([
+ 'class' => 'custom-input-2 custom-input-2-date',
+ 'type' => 'number',
+ ]) ?>
= $form->field($project, 'budget_currency')
- ->label(false)
- ->dropDownList(Currency::getCurrencyDropdown(), [ 'class' => 'custom-input-2' ]); ?>
+ ->label(false)
+ ->dropDownList(Currency::getCurrencyDropdown(), [ 'class' => 'custom-input-2' ]); ?>
= $form->field($project, 'contractual', [ 'template' => "{input}{label}\n{hint}\n{error}" ])
- ->checkbox([ 'class' => 'custom-check' ], false)
- ->label('Договорной') ?>
+ ->checkbox([ 'class' => 'custom-check' ], false)
+ ->label('Договорной') ?>
@@ -161,37 +161,37 @@
@@ -199,70 +199,71 @@
-