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