{#if loaded}
{#if ($config?.features.auth_trusted_header ?? false) || $config?.features.auth === false}
{$i18n.t('Signing in')} {$i18n.t('to')} {$WEBUI_NAME}
{:else}
{ submitHandler(); }} >
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Sign up')} {$i18n.t('to')} {$WEBUI_NAME}
{#if mode === 'signup'}
ⓘ {$WEBUI_NAME} {$i18n.t( 'does not make any external connections, and your data stays securely on your locally hosted server.' )}
{/if}
{#if mode === 'signup'}
{$i18n.t('Name')}
{/if}
{$i18n.t('Email')}
{$i18n.t('Password')}
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Create Account')}
{#if $config?.features.enable_signup}
{mode === 'signin' ? $i18n.t("Don't have an account?") : $i18n.t('Already have an account?')}
{ if (mode === 'signin') { mode = 'signup'; } else { mode = 'signin'; } }} > {mode === 'signin' ? $i18n.t('Sign up') : $i18n.t('Sign in')}
{/if}
{/if}
{/if}