<% content_for :head do %> <% end %> <% provide(:head_title, t("users.settings.teams.head_title")) %> <% provide(:container_class, "no-second-nav-container") %>
<%= render partial: "users/settings/sidebar.html.erb" %>
<%= render partial: "users/settings/teams/breadcrumbs.html.erb" %>

<% if can_update_team?(@team) %> <%= render partial: "shared/inline_editing", locals: { initial_value: @team.name, local_config: { name: 'team_name', params_group: 'team', field_to_udpate: 'name', path_to_update: update_team_path(@team, format: :json) } } %> <% else %> <%= @team.name %> <% end %>


<%= l(@team.created_at, format: :full_date) %>
<%= t("users.settings.teams.edit.header_created_by_name_email", name: team_created_by(@team).name, email: team_created_by(@team).email) %>
<%= "#{number_to_human_size(@team.space_taken)}" %>
<%= link_to team_description_path(@team, format: :json), remote: true, class: 'description-link', style: 'color: inherit' do %> <% end %>
<%= link_to team_description_path(@team, format: :json), remote: true, class: 'description-label description-link description-refresh', style: 'color: inherit' do %> <%= render partial: "users/settings/teams/description_label.html.erb", locals: { team: @team } %> <% end %>
<%= t("users.settings.teams.edit.team_members_title") %>
<%= t("users.settings.teams.edit.thead_user_name") %> <%= t("users.settings.teams.edit.thead_email") %> <%= t("users.settings.teams.edit.thead_role") %> <%= t("users.settings.teams.edit.thead_joined_on") %> <%= t("users.settings.teams.edit.thead_status") %> <%= t("users.settings.teams.edit.thead_actions") %>
<%= render partial: 'users/settings/teams/description_modal.html.erb' %> <%= render( partial: 'shared/invite_users_modal.html.erb', locals: { modal_id: 'team-invite-users-modal', type: 'invite_to_team', team: @team } ) %> <%= render partial: 'users/settings/teams/destroy_modal.html.erb', locals: { team: @team } %> <%= render partial: 'users/settings/user_teams/destroy_user_team_modal.html.erb' %> <%= stylesheet_link_tag 'datatables' %> <%= javascript_include_tag 'users/settings/teams/show' %>