Commit 58806a3d87f1a36d5a0932f71c542f15b5ecb7fe
1 parent
9b1d5363
tokar commit
Showing
1 changed file
with
60 additions
and
14 deletions
Show diff stats
frontend/views/accounts/_vacancy_form.php
| @@ -17,19 +17,42 @@ | @@ -17,19 +17,42 @@ | ||
| 17 | $this->params[ 'breadcrumbs' ][] = $this->title; | 17 | $this->params[ 'breadcrumbs' ][] = $this->title; |
| 18 | ?> | 18 | ?> |
| 19 | <div class="login-left-column-title"><?= $this->title ?></div> | 19 | <div class="login-left-column-title"><?= $this->title ?></div> |
| 20 | - | 20 | +<div class="login-left-column-title-two style">Редактирование:</div> |
| 21 | <?php | 21 | <?php |
| 22 | $form = ActiveForm::begin(); | 22 | $form = ActiveForm::begin(); |
| 23 | ?> | 23 | ?> |
| 24 | 24 | ||
| 25 | -<?= $form->field($vacancy, 'name') | ||
| 26 | - ->textInput() ?> | 25 | +<div class="input-blocks-wrapper"> |
| 26 | + <div class="input-blocks"> | ||
| 27 | + <?= $form->field($vacancy, 'name') | ||
| 28 | + ->textInput (['class'=> 'custom-input-2']); ?> | ||
| 29 | + </div> | ||
| 30 | +</div> | ||
| 31 | + | ||
| 32 | + | ||
| 33 | + | ||
| 34 | +<div class="input-blocks-wrapper"> | ||
| 35 | + <div class="input-blocks"> | ||
| 36 | + <?= $form->field($vacancy, 'link') | ||
| 37 | + ->textInput (['class'=> 'custom-input-2']); ?> | ||
| 38 | + </div> | ||
| 39 | +</div> | ||
| 40 | + | ||
| 41 | +<div class="input-blocks-wrapper"> | ||
| 42 | + <div class="input-blocks"> | ||
| 43 | + <?= $form->field($vacancy, 'user_name') | ||
| 44 | + ->textInput (['class'=> 'custom-input-2']); ?> | ||
| 45 | + <span class="admin-hint-vacancy-contact">Вы</span> | ||
| 46 | + </div> | ||
| 47 | +</div> | ||
| 27 | 48 | ||
| 28 | -<?= $form->field($vacancy, 'link') | ||
| 29 | - ->textInput() ?> | 49 | +<div class="input-blocks-wrapper"> |
| 50 | + <div class="input-blocks"> | ||
| 51 | + <span style="color: red">сюда нужен инпут телефон</span> | ||
| 30 | 52 | ||
| 31 | -<?= $form->field($vacancy, 'user_name') | ||
| 32 | - ->textInput() ?> | 53 | + <span class="admin-hint-vacancy-contact">Ваш</span> |
| 54 | + </div> | ||
| 55 | +</div> | ||
| 33 | 56 | ||
| 34 | <div class="input-blocks-wrapper"> | 57 | <div class="input-blocks-wrapper"> |
| 35 | <div class="input-blocks"> | 58 | <div class="input-blocks"> |
| @@ -50,18 +73,41 @@ | @@ -50,18 +73,41 @@ | ||
| 50 | ], | 73 | ], |
| 51 | ]); | 74 | ]); |
| 52 | ?> | 75 | ?> |
| 76 | + <span class="admin-hint-vacancy-contact">Ваш</span> | ||
| 77 | + </div> | ||
| 78 | +</div> | ||
| 53 | 79 | ||
| 80 | +<div class="input-blocks-wrapper admin-vacancy-check" style="margin-top: 29px"> | ||
| 81 | + <div class="input-blocks"> | ||
| 82 | + <?= $form->field($vacancy, 'employmentInput') | ||
| 83 | + ->checkboxList($employment, | ||
| 84 | + [ | ||
| 85 | + 'item' => function($index, $label, $name, $checked, $value) { | ||
| 86 | + $return = '<div class="admin-who-check-payment">'; | ||
| 87 | + $return .= '<input class="custom-check" id="select_admin_payment'.$value.'" type="checkbox" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >'; | ||
| 88 | + $return .= '<label for="select_admin_payment'.$value.'" >'; | ||
| 89 | + $return .= '<span></span>' . ucwords($label); | ||
| 90 | + $return .= '</label>'; | ||
| 91 | + $return .= '</div>'; | ||
| 92 | + return $return; | ||
| 93 | + } | ||
| 94 | + ] | ||
| 95 | + ) ?> | ||
| 54 | </div> | 96 | </div> |
| 55 | </div> | 97 | </div> |
| 56 | 98 | ||
| 57 | -<?= $form->field($vacancy, 'employmentInput') | ||
| 58 | - ->checkboxList($employment) ?> | 99 | +<div class="skills-admin-wrapper style"> |
| 100 | + <div class="input-blocks-wrapper skills-programs"> | ||
| 101 | + <div class="input-blocks"> | ||
| 102 | + <?= FieldEditor::widget ( | ||
| 103 | + [ | ||
| 104 | + 'template' => 'requirements', 'item_id' => $vacancy->vacancy_id, 'model' => 'common\models\Vacancy', 'language' => 'ru', | ||
| 105 | + ] | ||
| 106 | + ); ?> | ||
| 107 | + </div> | ||
| 108 | + </div> | ||
| 109 | +</div> | ||
| 59 | 110 | ||
| 60 | -<?= FieldEditor::widget ( | ||
| 61 | - [ | ||
| 62 | - 'template' => 'requirements', 'item_id' => $vacancy->vacancy_id, 'model' => 'common\models\Vacancy', 'language' => 'ru', | ||
| 63 | - ] | ||
| 64 | -); ?> | ||
| 65 | <div class="input-blocks-wrapper full-blocks admin-editor-bl"> | 111 | <div class="input-blocks-wrapper full-blocks admin-editor-bl"> |
| 66 | <div class="input-blocks"> | 112 | <div class="input-blocks"> |
| 67 | <?= $form->field($vacancy, 'description')->widget(CKEditor::className()) ?> | 113 | <?= $form->field($vacancy, 'description')->widget(CKEditor::className()) ?> |