{#if title}

{title}

{/if} {#each errorMessages as error}

{error}

{/each}
{#each fields as field}
{#if schema[field].type === 'string' && schema[field].constraints.inclusion} {:else if schema[field].type === 'datetime'} {:else if schema[field].type === 'boolean'} {:else if schema[field].type === 'number'} {:else if schema[field].type === 'string'} {/if}

{/each}