{#if schemas.length > 1}
(showOptions = !showOptions)} >
{#if showOptions}
{#each schemas as schema}
{schema.label}
createInlineReference(e, schema.name)} >New
openBrowseModal(e, schema.name)} >
{/each}
{/if} {:else}
createInlineReference(e, schemas[0].name)} >New
openBrowseModal(e, schemas[0].name)} >
{/if}
{#if inLineCreateRecord}
(inLineCreateRecord = null)} on:inlinesaved={save} /> {/if}