fix: improve reset password form.

See issue #297
This commit is contained in:
Leo Mouyna 2020-03-03 20:41:18 +01:00 committed by Thomas Citharel
parent 080432dbe5
commit 5e3eb00708
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -1,7 +1,10 @@
<template>
<section class="section container columns is-mobile is-centered">
<div class="card column is-half-desktop">
<h1>{{ $t("Password reset") }}</h1>
<section class="section container">
<div class="columns is-mobile is-centered">
<div class="column is-half-desktop">
<h1 class="title">
{{ $t("Password reset") }}
</h1>
<b-message
title="Error"
type="is-danger"
@ -27,12 +30,15 @@
type="password"
password-reveal
minlength="6"
v-model="credentials.passwordConfirmation"
v-model="credentials.password_confirmation"
/>
</b-field>
<button class="button is-primary">{{ $t("Reset my password") }}</button>
<button class="button is-primary">
{{ $t("Reset my password") }}
</button>
</form>
</div>
</div>
</section>
</template>
@ -97,3 +103,12 @@ export default class PasswordReset extends Vue {
}
}
</script>
<style lang="scss" scoped>
section.section.container {
background: $white;
}
.container .columns {
margin: 1rem auto 3rem;
}
</style>