Commit fbc32248 by Zen-PC\Zen

Zen: update

parent 04ab2697
......@@ -65,7 +65,13 @@ use Cake\I18n\Time;
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('firstname');?>
<em>* </em>
<?php echo $this->Form->input('UserPersonals.firstname_th', ['class' => 'form-control-reg border-bottom-from label-text-sub required', 'value' => $responseUserPersonal['firstname_th'], 'id' => 'firstname_th', 'type' => 'text', 'label' => false, 'minlength' => '4', 'placeholder' => 'firstname']); ?>
<?php echo $this->Form->input('UserPersonals.firstname_th', [
'class' => 'form-control-reg border-bottom-from label-text-sub required',
'value' => $responseUserPersonal['firstname_th'], 'id' => 'firstname_th',
'type' => 'text', 'label' => false,
'minlength' => '4',
'placeholder' => 'firstname'
]); ?>
<?php // echo $this->Form->input('fullname', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->firstname_th . ' ' . $userProfiles->lastname_th, 'id' => 'fullName', 'type' => 'text', 'label' => __('ชื่อ - นามสกุล'), 'placeholder' => 'ชื่อ - นามสกุล']); ?>
</div>
</div>
......@@ -73,7 +79,13 @@ use Cake\I18n\Time;
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('lastname');?>
<em>* </em>
<?php echo $this->Form->input('UserPersonals.lastname_th', ['class' => 'form-control-reg border-bottom-from label-text-sub required', 'value' => $responseUserPersonal['lastname_th'], 'id' => 'lastname_th', 'type' => 'text', 'label' => false, 'minlength' => '4', 'placeholder' => 'lastname']); ?>
<?php echo $this->Form->input('UserPersonals.lastname_th', [
'class' => 'form-control-reg border-bottom-from label-text-sub required',
'value' => $responseUserPersonal['lastname_th'], 'id' => 'lastname_th',
'type' => 'text', 'label' => false,
'minlength' => '4',
'placeholder' => 'lastname'
]); ?>
<?php // echo $this->Form->input('fullname', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->firstname_th . ' ' . $userProfiles->lastname_th, 'id' => 'fullName', 'type' => 'text', 'label' => __('ชื่อ - นามสกุล'), 'placeholder' => 'ชื่อ - นามสกุล']); ?>
</div>
</div>
......@@ -81,7 +93,15 @@ use Cake\I18n\Time;
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('birthdate');?>
<em>* </em>
<?php echo $this->Form->input('UserPersonals.birthdate', ['class' => 'form-control-reg border-bottom-from required datepicker', 'value' => $dateNow, 'id' => 'datepicker', 'type' => 'text', 'label' => false, 'placeholder' => 'DD-MM-YYYY','readonly'=>'readonly']); ?>
<?php echo $this->Form->input('UserPersonals.birthdate', [
'class' => 'form-control-reg border-bottom-from required datepicker',
'value' => $dateNow,
'id' => 'datepicker',
'type' => 'text',
'label' => false,
'placeholder' => 'DD-MM-YYYY',
'readonly'=>'readonly'
]); ?>
<span class="glyphicon glyphicon-calendar form-control-feedback datepicker"></span>
</div>
</div>
......@@ -134,7 +154,15 @@ use Cake\I18n\Time;
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('mobile');?>
<em>* </em>
<?php echo $this->Form->input('UserPersonals.moblie_no', ['class' => 'form-control-reg border-bottom-from label-text-sub required digits', 'value' => $responseUserPersonal['moblie_no'], 'id' => 'moblieNo', 'type' => 'text', 'label' => false, 'maxlength' => '10', 'minlength' => '10', 'placeholder' => 'mobile']); ?>
<?php echo $this->Form->input('UserPersonals.moblie_no', [
'class' => 'form-control-reg border-bottom-from label-text-sub required digits',
'value' => $responseUserPersonal['moblie_no'],
'id' => 'moblieNo', 'type' => 'text',
'label' => false,
'maxlength' => '10',
'minlength' => '10',
'placeholder' => 'mobile'
]); ?>
<?php // echo $this->Form->input('moblie_no', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->moblie_no, 'id' => 'moblieNo', 'type' => 'text', 'label' => __('เบอร์โทรศัพท์'), 'placeholder' => '000-000-0000']); ?>
</div>
</div>
......@@ -142,7 +170,15 @@ use Cake\I18n\Time;
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo __('email');?>
<em>* </em>
<?php echo $this->Form->input('UserPersonals.email', ['class' => 'form-control-reg border-bottom-from label-text-sub required email', 'value' => $responseUserPersonal['email'], 'id' => 'email', 'name' => 'email', 'label' => false, 'placeholder' => 'mail@xxx.com']); ?>
<?php echo $this->Form->input('UserPersonals.email', [
'class' => 'form-control-reg border-bottom-from label-text-sub required email',
'value' => $responseUserPersonal['email'],
'id' => 'email',
'name' => 'email',
'label' => false,
'placeholder' =>
'mail@xxx.com'
]); ?>
<?php // echo $this->Form->input('email', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->email, 'id' => 'email', 'type' => 'email', 'label' => __('Email'), 'placeholder' => 'mail@xxx.com']); ?>
<!-- <input type="text" name="email" id="email" value="<?php echo $responseUserPersonal['email'] ?>" placeholder="mail@xxx.com"
class="form-control-reg border-bottom-from"> -->
......@@ -150,7 +186,14 @@ use Cake\I18n\Time;
</div>
<div class="form-group has-feedback">
<div class="col-xs-12 col-sm-12 col-md-12">
<?php echo $this->Form->input('UserPersonals.address', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $responseUserPersonal['address'], 'id' => 'address', 'type' => 'text', 'label' => __('address'), 'placeholder' => __('112/3 สุขุมวิท 22 ทองหล่อ กทม 10523')]); ?>
<?php echo $this->Form->input('UserPersonals.address', [
'class' => 'form-control-reg border-bottom-from label-text-sub',
'value' => $responseUserPersonal['address'],
'id' => 'address',
'type' => 'text',
'label' => __('address'),
'placeholder' => __('112/3 สุขุมวิท 22 ทองหล่อ กทม 10523')
]); ?>
<?php // echo $this->Form->input('address', ['class' => 'form-control-reg border-bottom-from label-text-sub', 'value' => $userProfiles->address, 'id' => 'address', 'type' => 'text', 'label' => __('ที่อยู่อาศัย'), 'placeholder' => __('112/3 สุขุมวิท 22 ทองหล่อ กทม 10523')]); ?>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment