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

14 lines
391 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
2024-05-07 19:33:56 +02:00
- true ->
| No description provided.
2019-12-05 19:32:53 +01:00
2023-11-23 17:07:49 +01:00
= if can?(@conn, :edit_description, @user) do
= if @user.description not in [nil, ""] do
hr.separator.separator--secondary
a.button href=Routes.profile_description_path(@conn, :edit, @user)
i.fa.fa-edit>
| Edit