<%= render partial: "users/settings/teams/breadcrumbs.html.erb" %>
<% if can_update_team?(@team) %>
<%= render partial: "shared/inline_editing",
locals: {
initial_value: @team.name,
config: {
field_to_udpate: 'name',
params_group: 'team',
path_to_update: update_team_path(@team, format: :json)
}
} %>
<% else %>
<%= @team.name %>
<% end %>
<% if can_update_team?(@team) %>
"><%= sanitize_input(@team.description) %>
<%= t('general.cancel') %>
<%= t('general.save') %>
<% else %>
<%= @team.description.empty? ? t('users.settings.teams.edit.header_no_description') : sanitize_input(@team.description) %>
<% end %>
<% if can_invite_team_users?(@team) %>
<%= render(partial: 'shared/invite_users_modal.html.erb',
locals: { modal_id: 'team-invite-users-modal',
type: 'invite_to_team',
team: @team } ) %>
<% end %>
<%= 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") %> |