add + (plus) button for addition of Vorgaenge and Crimes

This commit is contained in:
2025-11-11 07:57:29 +01:00
parent b26080f4c1
commit 1c4b154e41
3 changed files with 64 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
<script lang="ts">
import ExpandableForm from '$lib/components/ExpandableForm.svelte';
import Trash from '$lib/icons/Trash.svelte';
import Folder from '$lib/icons/Folder.svelte';
import EmptyList from '$lib/components/EmptyList.svelte';
@@ -130,7 +131,9 @@
</div>
</div>
<form class="flex flex-col items-center mt-10 space-y-4" method="POST">
<ExpandableForm>
<form class="flex flex-col items-center" method="POST">
<div class="flex flex-col sm:flex-row sm:space-x-4 w-full max-w-lg">
<div class="flex-1">
<label for="vorgang" class="block text-sm font-medium leading-6 text-gray-900">
@@ -188,6 +191,8 @@
</button>
</form>
</ExpandableForm>
<style>
ul {
min-width: 24rem;