app/views/organization_users/index.html.erb
<%= render(PageComponent.new(subject: @organization, tabs: TabsComponent.new(tabs: organization_tabs(@organization)), sidebar: true)) do |component| %>
<% component.with(:header) do %>
<%= render(Page::HeaderComponent.new(title: @organization.name, sidebar: true, buttons: [
layout_button(link: new_organization_user_path(@organization), icon: "fas fa-plus", title: "Add member", display: authorized_user.can_edit_organization_users?(@organization)),
])) %>
<% end %>
<% component.with(:body) do %>
<%= render CardComponent.new do %>
<%= render "/organization_users/table", organization: @organization, organization_users: @organization_users, pagy: @pagy %>
<% end %>
<% end %>
<% end %>