{#if edit} {$i18n.t('Edit Connection')} {:else} {$i18n.t('Add Connection')} {/if}

{ e.preventDefault(); submitHandler(); }} >
{$i18n.t(`WebUI will make requests to "{{url}}"`, { url: path.includes('://') ? path : `${url}${path.startsWith('/') ? '' : '/'}${path}` })}
{#if auth_type === 'bearer'} {:else if auth_type === 'session'}
{$i18n.t('Forwards system user session credentials to authenticate')}
{/if}
{#if !direct}

{/if}
{#if edit} {/if}