Fix linter errors
This commit is contained in:
parent
e54438a26c
commit
9fa099024f
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue