philomena/lib/philomena_web/templates/profile/_about_me.html.slime
2024-06-06 22:28:35 +02:00

13 lines
378 B
Text

.block__content.profile-about
= cond do
- @user.description not in [nil, ""] ->
= @about_me
- true ->
| No description provided.
= if can?(@conn, :edit_description, @user) do
= if @user.description not in [nil, ""] do
hr.separator.separator--secondary
a.button href=~p"/profiles/#{@user}/description/edit"
i.fa.fa-edit>
| Edit