     $(document.body).on "click", ".select_winner_button", (event) =>
       event.preventDefault()
       @appointWinnerOfMatchByInput()
+    
+    $(document.body).on "click", ".read_current_auto_winner_matches_button", (event) =>
+      event.preventDefault()
+      
+      unless @nextMatch()
+        @sortByMostWins()
+        $('#bootstrap_modal').modal('hide')
     
   start: () ->     
     matchesAlreadyExist = false

      <button type="button" class="cancel_tournament_button" class="btn">Cancel</button> &nbsp;&nbsp;&nbsp;&nbsp;
      <button type="button" class="select_winner_button" class="btn btn-primary">Submit</button>
    </p>
  </form>
"""
      $('#bootstrap_modal').html(html)
      

      return true
    
  letWinnerWinMatchesAgainstCompetitorsWhichLoseAgainstLoser: (winnerId, loserId) ->
    @defeatedCompetitorsByCompetitor[loserId] ||= []

    @outmatchedCompetitorsByCompetitor[winnerId] ||= []
    
    $.each @outmatchedCompetitorsByCompetitor[winnerId], (index, competitorId) =>
      $.each window.matches, (index, match) =>
        if $.inArray(competitorId, match['competitors']) > -1 && $.inArray(loserId, match['competitors']) > -1 && match['winner_competitor'] != competitorId
          window.matches[index]['auto_winner'] = true
          winner_changed = false
          
          unless match['winner_competitor']  == undefined
            @changeCompetitorsComparisonResult(competitorId, loserId)
            winner_changed = true
            
          @appointWinnerOfMatch(index, competitorId, loserId, match['winner_competitor']  == undefined)
          match = window.matches[index]
          match['winner_changed'] = winner_changed
          
          competitorsWhichAreLoserOfLastMatch = jQuery.map(match['competitors'], (c) =>
            if c == @otherCompetitorOfMatch(@currentMatch, @currentMatch['winner_competitor'])
              return c
          )
          
          match['foot_note_competitor'] = winnerId
          
          if competitorsWhichAreLoserOfLastMatch.length == 1
            match['auto_winner_reason'] = "loser of last match has been defeated by outmatched competitor of<br/>winner <sup>[1]</sup>"
          else
            match['auto_winner_reason'] = "loser of last auto winner match has been defeated by outmatched competitor of winner <sup>[1]</sup>"
            
          @currentAutoWinnerMatches.push match
          
          return false

  updateDefeatedAndOutmatchedCompetitorsByCompetitor: (winnerId, loserId) ->
    @defeatedCompetitorsByCompetitor[winnerId] ||= []
