{#if loaded}
{ submitHandler(); }} >
{mode === 'signin' ? 'Sign in' : 'Sign up'} to {$WEBUI_NAME}
{#if mode === 'signup'}
ⓘ {$WEBUI_NAME} 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' ? 'Sign In' : 'Create Account'}
{mode === 'signin' ? `Don't have an account?` : `Already have an account?`}
{ if (mode === 'signin') { mode = 'signup'; } else { mode = 'signin'; } }} > {mode === 'signin' ? `Sign up` : `Sign In`}
{/if}