add reception changes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user