Default image in users#show
This commit is contained in:
parent
aa43ab12dd
commit
741eaae6e4
|
@ -3,10 +3,7 @@
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-lg-2
|
.col-lg-2
|
||||||
- if @profile.present? and @profile.picture.present?
|
= image_tag(@user.profile_picture.medium.url)
|
||||||
= image_tag(@profile.picture.medium.url)
|
|
||||||
- else
|
|
||||||
-# TODO photo placeholder, default user image
|
|
||||||
|
|
||||||
.col-lg-10
|
.col-lg-10
|
||||||
h1.page-header
|
h1.page-header
|
||||||
|
|
Loading…
Reference in New Issue