Browse Source

Swap avatar and header input fields in profile page (#9271)

Fixes #9211
pull/4/head
ThibG 6 years ago
committed by Eugen Rochko
parent
commit
fa9f28f52d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      app/views/settings/profiles/show.html.haml

+ 2
- 1
app/views/settings/profiles/show.html.haml View File

@ -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/

Loading…
Cancel
Save