From e4633a1150450396157640f5262393bb52db280b Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 18 Feb 2020 02:43:47 -0600 Subject: move defang toggle to preferences instead of profile --- app/views/settings/profiles/show.html.haml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/views/settings/profiles/show.html.haml') diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml index ba2fd7495..4fabfb9f4 100644 --- a/app/views/settings/profiles/show.html.haml +++ b/app/views/settings/profiles/show.html.haml @@ -18,12 +18,6 @@ = f.input :avatar, wrapper: :with_label, input_html: { accept: AccountAvatar::IMAGE_MIME_TYPES.join(',') }, hint: t('simple_form.hints.defaults.avatar', dimensions: '400x400', size: number_to_human_size(AccountAvatar::LIMIT)) - - if @account.user_can_moderate? - %hr.spacer/ - - .fields-group - = f.input :user_defanged, as: :boolean, wrapper: :with_label, hint: t('simple_form.hints.defaults.user_defanged') - %hr.spacer/ .fields-group -- cgit