about summary refs log tree commit diff
path: root/app/views/settings
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-11-29 02:56:09 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-11-29 02:56:09 +0100
commitfa9f28f52d38b5cf3184d6bc77f5554b74fca348 (patch)
tree2e6849719b8510471ecdcb2f7579b44b9b5747af /app/views/settings
parent6fac300ea4c61af07ceb2ce2832c2397712f7857 (diff)
Swap avatar and header input fields in profile page (#9271)
Fixes #9211
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/profiles/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml
index f5c50144b..4530ffae2 100644
--- a/app/views/settings/profiles/show.html.haml
+++ b/app/views/settings/profiles/show.html.haml
@@ -14,9 +14,10 @@
       = render 'application/card', account: @account
 
     .fields-row__column.fields-group.fields-row__column-6
+      = f.input :header, wrapper: :with_label, input_html: { accept: AccountHeader::IMAGE_MIME_TYPES.join(',') }, hint: t('simple_form.hints.defaults.header', dimensions: '1500x500', size: number_to_human_size(AccountHeader::LIMIT))
+
       = 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))
 
-      = f.input :header, wrapper: :with_label, input_html: { accept: AccountHeader::IMAGE_MIME_TYPES.join(',') }, hint: t('simple_form.hints.defaults.header', dimensions: '1500x500', size: number_to_human_size(AccountHeader::LIMIT))
 
   %hr.spacer/