<div class="modal fade centered-modal" id="team-sharing-tasks" tabindex="-1" role="dialog" aria-labelledby="team-sharing-tasks-label">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="sn-icon sn-icon-close"></i></button>
        <h4 class="modal-title" id="team-sharing-tasks-label"><%= t("users.settings.teams.show.tasks_share.disable_modal.title") %></h4>
      </div>
      <div class="modal-body">
        <p class='text-sm'><%= t("users.settings.teams.show.tasks_share.disable_modal.description_p1", team_name: @team.name) %></p>
        <p class='text-sm'><%= t("users.settings.teams.show.tasks_share.disable_modal.description_p2", counter: @team.number_of_task_shared) %></p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
        <%= button_to t("users.settings.teams.show.tasks_share.disable_modal.disable_button"),
                      shared_tasks_toggle_team_path,
                      class: 'btn btn-danger',
                      form_class: 'disable-team-tasks-sharing-form',
                      remote: true %>
      </div>
    </div>
  </div>
</div>
