anchor.diff:                      td.text-center
                           button.btn.btn-danger.btn-sm.h5(data-ng-click="leaveLeague(league._id)") leave
   
  -        br
           h4.text-primary All leagues
  +
  +        //search
           div.input-group
               label.input-group-addon.text-primary Search
               input.form-control(type="text", data-ng-model="leagueFilter")
   
  -        br
  +        //all leagues table
           div.leagueList
               table.table.table-responsive
                   thead.text-muted
  
positive.code:                         td.text-center
                              button.btn.btn-success.btn-sm.h5(data-ng-click="joinLeague(league._id)") join
  
  
  
  
          h4.text-primary Create a new league
          form.form-horizontal(role='form', name='LeagueForm', data-ng-submit='createLeague()')
              .form-group
                  .col-sm-6
                      label.control-label(for='1') League Name
                      input.form-control(type='text', name='leagueName', required='required', data-ng-model='league.leagueName')
  
                  .col-sm-6
                      label.control-label(for='1') Location
                      input.form-control(type='text', name='leagueLocation', required='required', data-ng-model='league.leagueLocation')
  
              button.btn.btn-success.pull-right(type='submit', data-ng-show='LeagueForm.$dirty') Create
  
              .clearfix
  
  
  
  
negative.code:     h3.text-primary League Settings
      div.well
  
          //My Leagues
          h4.text-primary My leagues
          p.alert(data-ng-show='!team.leagues.length') You're not in any leagues - join a league!
  
          table.table.table-responsive(data-ng-show='team.leagues.length')
              thead.text-muted
                  th Name
                  th Location
  