Tweak profile picture styles
This commit is contained in:
parent
358a7da0e8
commit
23ce93a853
|
@ -43,7 +43,7 @@
|
|||
margin-left: 12em;
|
||||
}
|
||||
|
||||
.input .hint, .input .error {
|
||||
.input .hint, .help-block, .input .error {
|
||||
display: block;
|
||||
clear: both;
|
||||
font-size: 0.75em;
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
= f.error_notification
|
||||
|
||||
.form-inputs
|
||||
= f.input :picture, as: :file, required: true, wrapper: :default
|
||||
= image_tag(@profile.picture.medium.url) if @profile.picture?
|
||||
.input
|
||||
= image_tag(@profile.picture.medium.url) if @profile.picture?
|
||||
= f.input :picture, as: :file, required: true, wrapper: false
|
||||
|
||||
= f.hidden_field :picture_cache, class: 'image_preview', wrapper: false
|
||||
= f.input :first_name, autofocus: true
|
||||
|
|
Loading…
Reference in New Issue