<% @statuses.each do |status| %> <%= render StatusTextComponent.new( text: status[:text], icon_name: status[:icon_name], icon_color: status[:icon_color] ) %> <% end %> <% if @status == 1 %>

<% elsif @status == 2 %>

<% end %>