add reception changes

This commit is contained in:
2015-09-30 15:24:16 +02:00
parent 640d04cb76
commit 7128cd438d
11 changed files with 311 additions and 161 deletions

View File

@@ -44,31 +44,19 @@ use yii\base\Widget;
</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()) ?>
</div>
<div class='col-md-3'>
<?php /* echo $form->field($model, 'birthdate',[ ] )->widget(DatePicker::classname(), [
'value' => Yii::$app->formatter->asDate($model->birthdate),
<?php echo $form->field($model, 'birthdate',[ ] )->widget(DatePicker::classname(), [
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy.mm.dd'
]
]) */?>
]) ?>
<?php
echo DatePicker::widget(
/*echo DatePicker::widget(
[
'name' => 'CustomerUpdate[birthdate]',
'value' => Yii::$app->formatter->asDate($model->birthdate),
@@ -77,7 +65,8 @@ use yii\base\Widget;
'format' => 'yyyy.mm.dd'
]
]
)
);
*/
?>
</div>
</div>