mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
change email address ui,
add input column for email
This commit is contained in:
@@ -5,8 +5,15 @@
|
||||
<div class="col">
|
||||
<div class="row m-b-10">
|
||||
<div class="col">
|
||||
<h3 class="all-caps m-b-5 bold no-margin">Edit Email</h3>
|
||||
<p>An edit email link will send to your email account</p>
|
||||
<h3 class="all-caps m-b-5 bold no-margin">Edit Email Address</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-b-10">
|
||||
<div class="col">
|
||||
<div class="fs-12">Email Address</div>
|
||||
<validation-wrapper-component :validator="$v.parameters.name">
|
||||
<input type="text" class="form-control" v-model="parameters.name">
|
||||
</validation-wrapper-component>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-b-5 animate__animated animate__fadeInUpBig animate__fast" v-if="error">
|
||||
@@ -19,7 +26,7 @@
|
||||
<div class="btn btn-sm btn-default bg-master-lightest btn-block b-rad-none" data-dismiss="modal">Cancel</div>
|
||||
</div>
|
||||
<div class="col p-l-5">
|
||||
<div class="btn btn-sm btn-success btn-block b-rad-none" @click="submit(route('api.account.authentication.password.forget', '1'), 'post', section, true, true)">Confirm</div>
|
||||
<div class="btn btn-sm btn-success btn-block b-rad-none" @click="submit(route('api.account.user.update', $store.getters.getUserId), 'put', section, true, true)">Update</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -28,17 +35,17 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import resetPasswordFormValidation from '../../../general/mixins/accounts/validation/resetPasswordFormValidation';
|
||||
import updateProfileFormValidation from '../../../general/mixins/accounts/validation/updateProfileFormValidation';
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
error: '',
|
||||
parameters: {
|
||||
email: ''
|
||||
name: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
mixins: [resetPasswordFormValidation]
|
||||
mixins: [updateProfileFormValidation]
|
||||
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user