<%= bootstrap_form_for user_team,
                       url: destroy_user_team_path(user_team, format: :json),
                       remote: :true,
                       method: :delete,
                       data: { id: 'leave-user-team-form' } do |f| %>
  <%= hidden_field_tag :leave, true %>
  <p><%= t("users.settings.user_teams.leave_uo_message", team: user_team.team.name) %></p>
  <div class="alert alert-danger" role="alert">
    <span class="fas fa-exclamation-triangle"></span>
    &nbsp;
    <%= t("users.settings.user_teams.leave_uo_alert_heading") %>
    <ul>
      <li><%= t("users.settings.user_teams.leave_uo_alert_line_1") %></li>
      <li><%= t("users.settings.user_teams.leave_uo_alert_line_2").html_safe %></li>
      <li><%= t("users.settings.user_teams.leave_uo_alert_line_3")%></li>
      <li><%= t("users.settings.user_teams.leave_uo_alert_line_4")%></li>
    </ul>
  </div>
<% end %>
