{ e.preventDefault() save() }} > {#if !inline}
{$t('routes.profile.edit')}
{/if} {@render children?.()} {#if data.my_user?.local_user_view?.local_user && formData} formData.bio ?? '', v => (formData.bio = v)} label={$t('form.profile.bio')} previewButton />
{$t('form.profile.showNSFW')} {$t('form.profile.bot')} {$t('form.profile.showBots')} {$t('form.profile.showRead')}
{$t('form.profile.languages.title')}

{$t('form.profile.languages.description')}

{#if site.data && formData.discussion_languages}
{#snippet target(attachment)} {/snippet} {#each site.data.all_languages.filter(l => !formData.discussion_languages?.includes(l.id)) as language (language.id)} { formData.discussion_languages?.push(language.id) }} > {language.name} {/each} {#each formData.discussion_languages as languageId, index (languageId)} {@const language = site.data.all_languages.find( l => l.id == languageId, )} {/each}
{/if}
{/if}