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