Commit e3f07d6734256dbe6da78530cf225e99213a824c
1 parent
71f28ec9
need visa теперь обязательна и dropdown
Showing
8 changed files
with
21 additions
and
15 deletions
Show diff stats
backend/views/request/update.php
common/mail/request.php
common/messages/en/app.php
common/messages/fr/app.php
common/messages/ru/app.php
common/messages/ua/app.php
common/models/Customer.php
frontend/views/site/signup.php
... | ... | @@ -104,16 +104,14 @@ $js=$dp->getDatepickerJs(); |
104 | 104 | |
105 | 105 | </div> |
106 | 106 | <div class="col-xs-12 col-sm-12 col-md-9 col-md-push-2 form-register-inputs-wr"> |
107 | - <div class="signup_text1"> | |
108 | - <?php echo \Yii::t('app','Need visa');?> | |
109 | - </div> | |
110 | 107 | |
111 | - <div class="input-wr sidebar_checks"> | |
112 | - <?php echo $form->field($model, 'need_visa',[ | |
113 | - 'template' => '{input}{label}', | |
114 | - ]) | |
115 | - ->checkbox([], false) | |
116 | - ->label(\Yii::t('app', 'yes'))?> | |
108 | + <div class="input-wr"> | |
109 | + | |
110 | + <?php echo $form->field($model, 'need_visa')->dropDownList([ | |
111 | + null => \Yii::t('app', 'Choose'), | |
112 | + 0 => \Yii::t('app', 'yes'), | |
113 | + 1 => \Yii::t('app', 'No'), | |
114 | + ],['class' => '','template' => '{input}{label}',])?> | |
117 | 115 | </div> |
118 | 116 | |
119 | 117 | </div> | ... | ... |