diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml index da6260eac46d57..2c3bf1ae871e88 100644 --- a/app/views/settings/profiles/show.html.haml +++ b/app/views/settings/profiles/show.html.haml @@ -36,7 +36,7 @@ = f.input :avatar, hint: t('simple_form.hints.defaults.avatar', dimensions: Account::Avatar::AVATAR_GEOMETRY, size: number_to_human_size(Account::Avatar::AVATAR_LIMIT)), input_html: { accept: Account::Avatar::AVATAR_IMAGE_MIME_TYPES.join(',') }, - wrapper: :with_block_label + wrapper: :with_label - if @account.avatar.present? = f.input :avatar_description, wrapper: :with_label, input_html: { maxlength: Account::DESCRIPTION_LENGTH_LIMIT }, chuckya_only: true @@ -54,7 +54,7 @@ = f.input :header, hint: t('simple_form.hints.defaults.header', dimensions: Account::Header::HEADER_GEOMETRY, size: number_to_human_size(Account::Header::HEADER_LIMIT)), input_html: { accept: Account::Header::HEADER_IMAGE_MIME_TYPES.join(',') }, - wrapper: :with_block_label + wrapper: :with_label - if @account.header.present? = f.input :header_description, wrapper: :with_label, input_html: { maxlength: Account::DESCRIPTION_LENGTH_LIMIT }, chuckya_only: true