mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #1959 from gradido/1951-remove-back-link-and-remove-gray-box
1951 remove back link and remove gray box
This commit is contained in:
commit
bad6b00e63
@ -50,16 +50,6 @@ describe('ForgotPassword', () => {
|
|||||||
expect(wrapper.find('div.forgot-password').exists()).toBe(true)
|
expect(wrapper.find('div.forgot-password').exists()).toBe(true)
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('back button', () => {
|
|
||||||
it('has a "back" button', () => {
|
|
||||||
expect(wrapper.findComponent(RouterLinkStub).text()).toEqual('back')
|
|
||||||
})
|
|
||||||
|
|
||||||
it('links to login', () => {
|
|
||||||
expect(wrapper.findComponent(RouterLinkStub).props().to).toEqual('/login')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
describe('input form', () => {
|
describe('input form', () => {
|
||||||
let form
|
let form
|
||||||
|
|
||||||
|
|||||||
@ -4,25 +4,18 @@
|
|||||||
<div class="pb-5">{{ $t('site.forgotPassword.heading') }}</div>
|
<div class="pb-5">{{ $t('site.forgotPassword.heading') }}</div>
|
||||||
<b-row class="justify-content-center">
|
<b-row class="justify-content-center">
|
||||||
<b-col>
|
<b-col>
|
||||||
<b-card no-body class="border-0 gradido-custom-background">
|
|
||||||
<b-card-body class="p-4">
|
|
||||||
<validation-observer ref="observer" v-slot="{ handleSubmit }">
|
<validation-observer ref="observer" v-slot="{ handleSubmit }">
|
||||||
<b-form role="form" @submit.prevent="handleSubmit(onSubmit)">
|
<b-form role="form" @submit.prevent="handleSubmit(onSubmit)">
|
||||||
<input-email v-model="form.email"></input-email>
|
<input-email v-model="form.email"></input-email>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<b-button type="submit" variant="primary">
|
<b-button type="submit" variant="gradido">
|
||||||
{{ $t('settings.password.send_now') }}
|
{{ $t('settings.password.send_now') }}
|
||||||
</b-button>
|
</b-button>
|
||||||
</div>
|
</div>
|
||||||
</b-form>
|
</b-form>
|
||||||
</validation-observer>
|
</validation-observer>
|
||||||
</b-card-body>
|
|
||||||
</b-card>
|
|
||||||
</b-col>
|
</b-col>
|
||||||
</b-row>
|
</b-row>
|
||||||
<div class="text-center py-lg-4">
|
|
||||||
<router-link to="/login" class="mt-3">{{ $t('back') }}</router-link>
|
|
||||||
</div>
|
|
||||||
</b-container>
|
</b-container>
|
||||||
<b-container v-else>
|
<b-container v-else>
|
||||||
<message
|
<message
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user