Fix customer backend forms , fix site\index

backend create\update customer forms must display the same as the frontend
forms

site\index action should be friendly and related to this app
This commit is contained in:
2015-11-02 18:41:36 +01:00
parent ed1e0b6c2a
commit b6b5193120
10 changed files with 53 additions and 113 deletions

View File

@@ -22,9 +22,6 @@ use kartik\widgets\DatePicker;
<div class='col-md-3'>
<?php echo $form->field($model, 'cardNumber')->widget(CardNumberTypeahead::className(),[]) ?>
</div>
<div class='col-md-3'>
<?= $form->field($model, 'partnerCardNumber')->textInput() ?>
</div>
</div>
@@ -39,17 +36,6 @@ use kartik\widgets\DatePicker;
</div>
</div>
<div class='row'>
<div class='col-md-3'>
<?= $form->field($model, 'password_plain')->passwordInput(['maxlength' => true]) ?>
</div>
<div class='col-md-3'>
<?= $form->field($model, 'password_repeat')->passwordInput(['maxlength' => true]) ?>
</div>
</div>
<div class='row'>
<div class='col-md-3'>
<?= $form->field($model, 'sex')->dropDownList(Customer::sexes()) ?>