Added rename of Game, Wall and Category

This commit is contained in:
2026-01-02 12:35:44 +01:00
parent 7be5921ef6
commit 5568a5bb99
5 changed files with 284 additions and 60 deletions

View File

@@ -1,12 +1,28 @@
<script lang="ts">
interface Props {
value: string;
label?: string;
}
let { value = $bindable() }: Props = $props();
let { value = $bindable(), label }: Props = $props();
const id = crypto.randomUUID();
</script>
<input type="text" name="textfield" class="borders mt-2 mb-2 w-full" bind:value />
<div>
{#if label}
<label for="textfield-{id}" class="">{label}</label>
{/if}
<div>
<input
type="text"
name="textfield"
id="textfield-{id}"
class="borders mt-2 mb-2 w-full"
bind:value
/>
</div>
</div>
<style>
.borders {