{m.grooming_title()} — innercontext
{m["grooming_backToRoutines"]()}

{m["nav_appSubtitle"]()}

{m.grooming_title()}

{#if form?.error}
{form.error}
{/if} {#if form?.created}
{m["grooming_entryAdded"]()}
{/if} {#if form?.updated}
{m["grooming_entryUpdated"]()}
{/if} {#if form?.deleted}
{m["grooming_entryDeleted"]()}
{/if} {#if showAddForm}
{ return async ({ update }) => { await update(); showAddForm = false; }; }} class="grid grid-cols-2 gap-4" >
{/if} {#if schedule.length === 0}

{m["grooming_noEntries"]()}

{:else}
{#each byDay as { name, entries, day } (day)}

{name}

{#each entries as entry (entry.id)}
{ACTION_LABELS[entry.action]} {#if entry.notes} {entry.notes} {/if}
{ if (!confirm(m["grooming_confirmDelete"]())) e.preventDefault(); }} >
{#if editingId === entry.id}
{ return async ({ update }) => { await update(); editingId = null; }; }} class="grid grid-cols-2 gap-3" >
{/if}
{/each}
{/each}
{/if}