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

12 lines
354 B
Text
Raw Normal View History

2024-05-04 23:09:20 +02:00
<div class="block__content profile-about">
<%= cond do %>
<% @user.description not in [nil, ""] -> %>
<%= @about_me %>
<% current?(@user, @conn.assigns.current_user) -> %>
<em>
2024-05-04 23:09:44 +02:00
Want to <%= link("add some info about yourself?", to: ~p"/profiles/#{@user}/description/edit") %>
2024-05-04 23:09:20 +02:00
</em>
<% true -> %>
<% end %>
</div>