Fix linter errors

This commit is contained in:
Dominik M. Kwiatek 2020-05-17 21:09:09 +01:00
parent e54438a26c
commit 9fa099024f
1 changed files with 2 additions and 2 deletions

View File

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