mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 18:39:58 +01:00
Fix HAML codestyle
This commit is contained in:
parent
64601e7e8a
commit
08c94392e4
2 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
= render 'settings/profile'
|
||||
= render "settings/profile"
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
- parent_layout 'user/settings'
|
||||
- parent_layout "user/settings"
|
||||
|
|
Loading…
Reference in a new issue