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

12 lines
293 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: ~p"/profiles/#{@user}/description/edit"
2019-12-05 19:32:53 +01:00
- true ->