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

11 lines
307 B
Text

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