Merge branch 'LeoMouyna/mobilizon-297-password-reset-form'

This commit is contained in:
Thomas Citharel 2020-12-10 09:42:49 +01:00
commit 118aabf544
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

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