philomena/lib/philomena_web/templates/profile/_about_me.html.slime

12 lines
306 B
Text
Raw Normal View History

2019-12-05 19:32:53 +01:00
.block__content.profile-about
= cond do
- @user.description not in [nil, ""] ->
= @about_me
2019-12-05 19:32:53 +01:00
- current?(@user, @conn.assigns.current_user) ->
em
' Want to
=> link "add some info about yourself?", to: Routes.profile_description_path(@conn, :edit, @user)
2019-12-05 19:32:53 +01:00
- true ->