Commit 1b69186ed2f0e12a34931e17ee2ff31892ac481c
1 parent
f4d2405a
-Status to admin added
Showing
1 changed file
with
10 additions
and
1 deletions
Show diff stats
backend/views/request/update.php
| ... | ... | @@ -33,7 +33,16 @@ |
| 33 | 33 | ?> |
| 34 | 34 | |
| 35 | 35 | <div class="wrapp-blocks-edit-page"> |
| 36 | - | |
| 36 | + | |
| 37 | + <?= $form->field($model, 'status') | |
| 38 | + ->dropDownList( | |
| 39 | + [ | |
| 40 | + 2 => 'Новая', | |
| 41 | + 1 => 'Одобрена', | |
| 42 | + 0 => 'Отклонена', | |
| 43 | + ] | |
| 44 | + ) ?> | |
| 45 | + | |
| 37 | 46 | <?= $form->field($model, 'secondname') |
| 38 | 47 | ->textInput() ?> |
| 39 | 48 | ... | ... |