v-container
v-form(@submit.prevent="change_password" v-model='valid')
v-row.mt-5(align='center' justify='center')
v-col(cols='12' md="6" lg="5" xl="4")
v-card
v-card-title {{$t('common.recover_password')}}
template(v-if='user')
v-card-subtitle {{user.email}}
v-card-text
v-text-field(type='password'
:rules="$validators.password"
autofocus :placeholder='$t("common.new_password")'
v-model='new_password')
template(v-else)
v-card-text
v-alert(type='error' :icon='mdiAlert') {{$t('recover.not_valid_code')}}
{{ error }}
v-card-actions
v-spacer
v-btn(v-if='user' outlined color='primary' type='submit' :disabled='!valid') {{$t('common.send')}}