Fix HAML codestyle

This commit is contained in:
Andreas Nedbal 2022-01-30 01:29:50 +01:00 committed by Andreas Nedbal
parent 64601e7e8a
commit 08c94392e4
2 changed files with 6 additions and 6 deletions

View file

@ -6,22 +6,22 @@
.pull-left
%img.avatar-lg.mr-3{ src: current_user.profile_picture.url(:medium) }
.media-body
= f.file_field :profile_picture, accept: APP_CONFIG[:accepted_image_formats].join(',')
= f.file_field :profile_picture, accept: APP_CONFIG[:accepted_image_formats].join(",")
.row.d-none#profile-picture-crop-controls
.col-sm-10.col-md-8
%strong= t('.adjust.profile_picture')
%strong= t(".adjust.profile_picture")
%img#profile-picture-cropper{ src: current_user.profile_picture.url(:medium) }
.row.mb-2#profile-header-media
.col
%img.mw-100.mr-3{ src: current_user.profile_header.url(:mobile) }
.col-xs-12.mt-3.mt-sm-0.pl-3.pr-3
= f.file_field :profile_header, accept: APP_CONFIG[:accepted_image_formats].join(',')
= f.file_field :profile_header, accept: APP_CONFIG[:accepted_image_formats].join(",")
.row.d-none#profile-header-crop-controls
.col-sm-10.col-md-8
%strong= t('.adjust.profile_header')
%strong= t(".adjust.profile_header")
%img#profile-header-cropper{ src: current_user.profile_header.url(:web) }
= f.check_box :show_foreign_themes

View file

@ -1,4 +1,4 @@
= render 'settings/profile'
= render "settings/profile"
- provide(:title, generate_title(t(".title")))
- parent_layout 'user/settings'
- parent_layout "user/settings"