Bugfix create user page - missing submit buttons

This commit is contained in:
roschaefer 2019-09-23 21:50:08 +02:00
parent 353b846124
commit bafc530366

View File

@ -9,8 +9,6 @@
</ds-space> </ds-space>
</ds-card> </ds-card>
<ds-card v-else class="create-account-card"> <ds-card v-else class="create-account-card">
<ds-flex gutter="small">
<ds-flex-item width="100%">
<client-only> <client-only>
<locale-switch /> <locale-switch />
</client-only> </client-only>
@ -21,21 +19,16 @@
src="/img/sign-up/nicetomeetyou.svg" src="/img/sign-up/nicetomeetyou.svg"
/> />
</ds-space> </ds-space>
</ds-flex-item>
<ds-flex-item width="100%">
<ds-space> <ds-space>
<ds-heading size="h3"> <ds-heading size="h3">
{{ $t('registration.create-user-account.title') }} {{ $t('registration.create-user-account.title') }}
</ds-heading> </ds-heading>
</ds-space> </ds-space>
<ds-form <ds-form class="create-user-account" v-model="formData" :schema="formSchema" @submit="submit">
class="create-user-account" <template v-slot="{ errors }">
v-model="formData" <ds-flex gutter="base">
:schema="formSchema" <ds-flex-item width="100%">
@submit="submit"
>
<template slot-scope="{ errors }">
<ds-input <ds-input
id="name" id="name"
model="name" model="name"
@ -79,8 +72,8 @@
v-html="$t('termsAndConditions.termsAndConditionsConfirmed')" v-html="$t('termsAndConditions.termsAndConditionsConfirmed')"
></label> ></label>
</ds-text> </ds-text>
</ds-flex-item>
<template slot="footer"> <ds-flex-item width="100%">
<ds-space class="backendErrors" v-if="backendErrors"> <ds-space class="backendErrors" v-if="backendErrors">
<ds-text align="center" bold color="danger">{{ backendErrors.message }}</ds-text> <ds-text align="center" bold color="danger">{{ backendErrors.message }}</ds-text>
</ds-space> </ds-space>
@ -94,11 +87,10 @@
> >
{{ $t('actions.save') }} {{ $t('actions.save') }}
</ds-button> </ds-button>
</template>
</template>
</ds-form>
</ds-flex-item> </ds-flex-item>
</ds-flex> </ds-flex>
</template>
</ds-form>
</ds-card> </ds-card>
</ds-container> </ds-container>
</template> </template>