feat(frontend): Show save button in every section
This commit is contained in:
@@ -51,21 +51,25 @@
|
|||||||
{{ $t('applicationForms.navigation.previous') }}
|
{{ $t('applicationForms.navigation.previous') }}
|
||||||
</UButton>
|
</UButton>
|
||||||
|
|
||||||
<UButton
|
<div class="flex flex-wrap items-center gap-1.5">
|
||||||
v-if="stepper?.hasNext"
|
|
||||||
trailing-icon="i-lucide-arrow-right"
|
|
||||||
:disabled="!stepper?.hasNext"
|
|
||||||
size="lg"
|
|
||||||
@click="handleNavigate('forward')"
|
|
||||||
>
|
|
||||||
{{ $t('applicationForms.navigation.next') }}
|
|
||||||
</UButton>
|
|
||||||
|
|
||||||
<div v-if="!stepper?.hasNext" class="flex flex-wrap items-center gap-1.5">
|
|
||||||
<UButton trailing-icon="i-lucide-save" :disabled="disabled" variant="outline" size="lg" @click="emit('save')">
|
<UButton trailing-icon="i-lucide-save" :disabled="disabled" variant="outline" size="lg" @click="emit('save')">
|
||||||
{{ $t('applicationForms.navigation.save') }}
|
{{ $t('applicationForms.navigation.save') }}
|
||||||
</UButton>
|
</UButton>
|
||||||
<UButton trailing-icon="i-lucide-send-horizontal" :disabled="disabled" size="lg" @click="emit('submit')">
|
<UButton
|
||||||
|
v-if="stepper?.hasNext"
|
||||||
|
trailing-icon="i-lucide-arrow-right"
|
||||||
|
size="lg"
|
||||||
|
@click="handleNavigate('forward')"
|
||||||
|
>
|
||||||
|
{{ $t('applicationForms.navigation.next') }}
|
||||||
|
</UButton>
|
||||||
|
<UButton
|
||||||
|
v-if="!stepper?.hasNext"
|
||||||
|
trailing-icon="i-lucide-send-horizontal"
|
||||||
|
:disabled="disabled"
|
||||||
|
size="lg"
|
||||||
|
@click="emit('submit')"
|
||||||
|
>
|
||||||
{{ $t('applicationForms.navigation.submit') }}
|
{{ $t('applicationForms.navigation.submit') }}
|
||||||
</UButton>
|
</UButton>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -173,7 +173,7 @@
|
|||||||
"auth": {
|
"auth": {
|
||||||
"welcome": "Willkommen",
|
"welcome": "Willkommen",
|
||||||
"redirectMessage": "Sie werden zur Authentifizierung zu Keycloak weitergeleitet",
|
"redirectMessage": "Sie werden zur Authentifizierung zu Keycloak weitergeleitet",
|
||||||
"signIn": "Mit Keycloak anmelden",
|
"signIn": "Anmelden",
|
||||||
"termsAgreement": "Mit der Anmeldung stimmen Sie unseren Nutzungsbedingungen zu",
|
"termsAgreement": "Mit der Anmeldung stimmen Sie unseren Nutzungsbedingungen zu",
|
||||||
"login": "Anmelden",
|
"login": "Anmelden",
|
||||||
"redirecting": "Sie werden weitergeleitet"
|
"redirecting": "Sie werden weitergeleitet"
|
||||||
|
|||||||
@@ -173,7 +173,7 @@
|
|||||||
"auth": {
|
"auth": {
|
||||||
"welcome": "Welcome",
|
"welcome": "Welcome",
|
||||||
"redirectMessage": "You will be redirected to Keycloak to authenticate",
|
"redirectMessage": "You will be redirected to Keycloak to authenticate",
|
||||||
"signIn": "Sign in with Keycloak",
|
"signIn": "Sign in",
|
||||||
"termsAgreement": "By signing in, you agree to our terms of service",
|
"termsAgreement": "By signing in, you agree to our terms of service",
|
||||||
"login": "Login",
|
"login": "Login",
|
||||||
"redirecting": "You are being redirected"
|
"redirecting": "You are being redirected"
|
||||||
|
|||||||
Reference in New Issue
Block a user