philomena/lib/philomena_web/templates/profile/_about_me.html.slime
2023-11-23 17:07:49 +01:00

10 lines
331 B
Text

.block__content.profile-about
= if @user.description not in [nil, ""] do
= @about_me
= 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