<% if @content_list.any? %>
<%= image_tag "card-headers/#{@content_type.to_s.downcase.pluralize}.webp" %> <%= @content_type.icon %> <%= @content_type.to_s.capitalize.pluralize %> by person <%= link_to @user.name, @user, class: 'white-text' %>
<%= render partial: 'content/list/cards', locals: { content_list: @content_list, content_type: @content_type, how_add_another_form: false, show_template_editor_form: false, show_new_button: false } %>
<%= link_to "Back to #{@user.name}'s profile'", @user %>
<% else %>

<%= User.icon %> <%= link_to(@user.name, @user, class: "#{User.text_color}") %> doesn't have any public <%= @content_type.name.downcase.pluralize %> yet!

<%= @content_type.icon %>

<%= t("content_descriptions.#{@content_type.name.downcase}") %>

<% end %>