feat: add slot to EnterNonce for back to home link

This commit is contained in:
roschaefer 2019-10-07 13:06:11 +02:00 committed by mattwr18
parent bb5d581906
commit 1dc4bc1411
2 changed files with 6 additions and 1 deletions

View File

@ -23,6 +23,7 @@
{{ $t('components.enter-nonce.form.next') }}
</ds-button>
</ds-form>
<slot></slot>
</ds-space>
</template>

View File

@ -1,5 +1,9 @@
<template>
<enter-nonce :email="email" @nonceEntered="nonceEntered" />
<enter-nonce :email="email" @nonceEntered="nonceEntered">
<ds-space margin-bottom="xxx-small" margin-top="large" centered>
<nuxt-link to="/login">{{ $t('site.back-to-login') }}</nuxt-link>
</ds-space>
</enter-nonce>
</template>
<script>