changed the register form
This commit is contained in:
parent
e19c31a56b
commit
6efdcb8f70
|
|
@ -65,10 +65,10 @@
|
|||
</template>
|
||||
|
||||
<div class="mt-5">
|
||||
<label>{{ $t("SELECT_COUNTRY_LONG") }}</label>
|
||||
<!-- <label>{{ $t("SELECT_COUNTRY_LONG") }}</label> -->
|
||||
<select class="form-select py-3 px-4 block mt-2 sm:mr-2" aria-label="Default select example"
|
||||
v-model="validate.country.$model" :class="{ 'border-danger': validate.country.$error }" name="country">
|
||||
<option value="" disabled>{{ $t("SELECT_COUNTRY") }}</option>
|
||||
<option value="" disabled>{{ $t("SELECT_COUNTRY_LONG") }}</option>
|
||||
<template v-if="countries.length">
|
||||
<option v-for="country in countries" :key="country.id" :value="country.id">
|
||||
{{ country.name }}
|
||||
|
|
@ -84,8 +84,15 @@
|
|||
</template>
|
||||
|
||||
<div class="mt-5">
|
||||
<label>{{ $t("ACCOUNT_TYPE") }}</label>
|
||||
<div class="flex flex-col sm:flex-row mt-2">
|
||||
<!-- <label>{{ $t("ACCOUNT_TYPE") }}</label> -->
|
||||
<select class="form-select py-3 px-4 block mt-2 sm:mr-2" aria-label="Default select example"
|
||||
v-model="validate.accountType.$model" :class="{ 'border-danger': validate.accountType.$error }" name="accountType">
|
||||
<option value="" disabled>{{ $t("ACCOUNT_TYPE") }}</option>
|
||||
<option value="business">{{ $t("ACCOUNT_TYPE_BUSINESS") }}</option>
|
||||
<option value="company">{{ $t("ACCOUNT_TYPE_COMPANY") }}</option>
|
||||
</select>
|
||||
|
||||
<!-- <div class="flex flex-col sm:flex-row mt-2">
|
||||
<div class="form-check mr-5">
|
||||
<input id="radio-switch-4" class="form-check-input" type="radio" v-model="formData.accountType"
|
||||
name="accountType" value="business" />
|
||||
|
|
@ -97,7 +104,7 @@
|
|||
name="accountType" value="company" />
|
||||
<label class="form-check-label" for="radio-switch-6">{{ $t("ACCOUNT_TYPE_COMPANY") }}</label>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<template v-if="validate.accountType.$error">
|
||||
<div v-for="(error, index) in validate.accountType.$errors" :key="index" class="text-danger mt-2">
|
||||
|
|
@ -382,7 +389,9 @@ onBeforeMount(async () => {
|
|||
.custom-btns {
|
||||
min-width: 128px;
|
||||
}
|
||||
.form-check-input[type="radio"] {
|
||||
.form-check-input[type="radio"],
|
||||
.login .login__input,
|
||||
.form-select {
|
||||
border-color: rgb(var(--color-slate-400) / var(--tw-border-opacity));;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue