<%# given the probability that organizations can have lots of users, here we're using the any?/find_each pattern to avoid loading possibly too many objects in memory %> <% if @organization.users.any? %>

<%= t("views.organizations.team") %>

<% @organization.users.find_each do |user| %>
<%= user.username %> profile image
<% end %>
<% end %> <% if @organization.story.present? %>

<%= t("views.organizations.story") %>

<%= sanitized_sidebar @organization.story %>
<% end %> <% if @organization.tech_stack.present? %>

<%= t("views.organizations.stack") %>

<%= sanitized_sidebar @organization.tech_stack %>
<% end %> <% if @organization.users.any? %>
<%= crayons_icon_tag(:post, class: "mr-3 color-base", title: t("views.organizations.side.post.icon")) %> <%= t "views.organizations.side.post.text", count: @stories.size %>
<%= crayons_icon_tag(:team, class: "mr-3 color-base", title: t("views.organizations.side.member.icon")) %> <%= t "views.organizations.side.member.text", count: @organization.users.size %>
<% end %>