Labels
{#if allowedToEdit}
{#if showInput} { inputValue = ""; showInput = false; }} name="cross" /> {:else} (showInput = true)}> {/if}
{/if}
{#if allowedToEdit} {#each updatedLabels as label} {/each} {#if updatedLabels.length === 0 && !showInput}
No labels.
{/if} {:else} {#each updatedLabels as label}
{#if showInput}
{#if !valid && validationMessage}
{validationMessage}
{/if}
{/if}