anchor.diff:        $('#teamList table tbody').on('click', 'td a.linkredeployteam', redeployTeam);
   
         // Delete Team link click
  -      $('#teamList table tbody').on('click', 'td a.linkdeleteteam', deleteTeam);
  -
  +      $('#teamList table tbody').on('click', 'td a.linkshowdeleteteammodal', showDeleteTeamModal);
  +
  +      // Confirm Delete Team link click
  +      $('#yesDeleteTeam').on('click', deleteTeam);
       });
   
       // Functions =============================================================
  
positive.code:             button.close(type='button', data-dismiss='modal', aria-hidden='true') ×
              h4#myModalLabel.modal-title Delete confirmation
            .modal-body
              h4 Are you sure?
            .modal-footer
              button.btn.btn-default(type='button', data-dismiss='modal') No
              button#yes.btn.btn-primary(type='button') Yes!
    #progressModal.modal.fade(tabindex='-1', role='dialog', aria-labelledby='myModalLabel', aria-hidden='true')
        .modal-dialog.modal-sm
          .modal-content
  
negative.code:       // Update the table
        populateTable();
  
      };
  
      // Delete User
      function showDeleteTeamModal(event) {
  
        // Prevent Link from Firing
        event.preventDefault();
  
         // show modal
         $('#myModal').modal({keyboard:true,backdrop:'static'});
  
        // Set Team Id to hidden field
        // so we pass the Team's Id through
        $('#team_id').val($(this).attr('rel'));
  
      };
  
      function deleteTeam(event) {
        // Prevent Link from Firing
        event.preventDefault();
  
        // do our delete
        $.ajax({
          type: 'DELETE',
          //- headers: { 'X-CSRF-Token': '#{token}' },
          headers: { 'X-CSRF-Token': $('meta[name="x-csrf-token"]').attr('content')},
          url: '/teamlist/' + $('#team_id').val()
        }).done(function( response ) {
          // Check for a successful (blank) response
          if (response.msg === '') {
          }
          else {
            alert('Error: ' + response.msg);
          }
          // Update the table
          populateTable();
        });
        // close the modal
        $('#myModal').modal('hide');
  
      };
  