diff --git a/app/views/settings/_profile.haml b/app/views/settings/_profile.haml index d01b3ddf..6d46c53f 100644 --- a/app/views/settings/_profile.haml +++ b/app/views/settings/_profile.haml @@ -48,10 +48,10 @@ = f.check_box :show_foreign_themes, label: 'Render other user themes when visiting their profile' - - for attrib in %i(profile_picture_x profile_picture_y profile_picture_w profile_picture_h) + - %i[profile_picture_x profile_picture_y profile_picture_w profile_picture_h].each do |attrib| = f.hidden_field attrib, id: attrib - - for attrib in %i(profile_header_x profile_header_y profile_header_w profile_header_h) + - %i[profile_header_x profile_header_y profile_header_w profile_header_h].each do |attrib| = f.hidden_field attrib, id: attrib = f.submit t('views.actions.save'), class: 'btn btn-primary'