Commit 4ec0b3c59c5b26d1961173a65d0dad22f4585e80
1 parent
66ff49d7
-Sizes alpha test
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
views/brand-size/_form.php
@@ -19,7 +19,13 @@ | @@ -19,7 +19,13 @@ | ||
19 | 19 | ||
20 | <div class="brand-size-form"> | 20 | <div class="brand-size-form"> |
21 | 21 | ||
22 | - <?php $form = ActiveForm::begin(); ?> | 22 | + <?php $form = ActiveForm::begin( |
23 | + [ | ||
24 | + 'options' => [ | ||
25 | + 'enctype' => 'multipart/form-data', | ||
26 | + ], | ||
27 | + ] | ||
28 | + ); ?> | ||
23 | 29 | ||
24 | <?= $form->field($model, 'brand_id') | 30 | <?= $form->field($model, 'brand_id') |
25 | ->widget( | 31 | ->widget( |