Add slot for meta info to formbuilder

This commit is contained in:
philipp lang 2023-12-28 00:37:25 +01:00
parent 1b5c83a414
commit 0fde33803b
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<template>
<form class="grid gap-3 mt-4 grid-cols-[1fr_max-content] items-start" @submit.prevent="submit">
<div class="grid gap-3">
<slot name="meta"></slot>
<asideform v-if="singleSection !== null"
:heading="`Sektion ${singleSection.index !== null ? 'bearbeiten' : 'erstellen'}`"
@close="singleSection = null" @submit="storeSection">