<%= render "sidebar_section", :edit_title => t(".change_image"),
:edit_path => profile_image_path do %>
<% end %>
<%= render "sidebar_section", :present => @user.home_location_name&.strip.present?,
:edit_title => t(".edit_location"),
:edit_path => profile_location_path do %>
<%= inline_svg_tag "icons/home_location.svg", :class => "flex-shrink-0", :title => t(".home_location") %>
<%= @user.home_location_name %>
<% end %>
<%= render "sidebar_section", :present => @user.company&.strip.present?,
:edit_title => t(".edit_company"),
:edit_path => profile_company_path do %>
<%= inline_svg_tag "icons/company.svg", :class => "flex-shrink-0", :title => t(".company") %>
<%= tag.span :class => "text-truncate", :title => t(".company_tooltip") do %>
<%= @user.company %>
<% end %>
<% end %>
<%= render "sidebar_section", :present => !@user.social_links.empty?,
:edit_title => t(".edit_links"),
:edit_path => profile_links_path do %>
<%= render "social_links/show", :social_links => @user.social_links %>
<% end %>
<% if owned %>
<%= tag.button t(".edit_profile_details"), :type => "button",
:class => "btn btn-sm btn-outline-primary w-100 overflow-hidden",
:data => { :bs_toggle => "collapse", :bs_target => "[data-sidebar-edit]" } %>
<% end %>
<%= @user.description.to_html %>
<% if owned %>
<%= link_to t(".edit_description"), profile_description_path, :class => "btn btn-outline-primary" %>
<% end %>