{{ define "tysc/sports.html" }}
{{ template "header.html" .}}
{{ template "tysc/menu.html" .}}
<ul class="nav nav-tabs">
  <li role="presentation"><a href="/tysc/sport">Sports</a></li>
  <li role="presentation"><a href="/tysc/position">Positions</a></li>
  <li role="presentation"><a href="/tysc/team">Teams</a></li>
  <li role="presentation"><a href="/tysc/player">Players</a></li>
  <li role="presentation"><a href="/tysc/manufacturer">Manufacturers</a></li>
  <li role="presentation"><a href="/tysc/cardset">Series</a></li>
  <li role="presentation"><a href="/tysc/parallelset">Parallel Sets</a></li>
  <li role="presentation"><a href="/tysc/insertset">Inserts</a></li>
  <li role="presentation"><a href="/tysc/card">Cards</a></li>
</ul>
<div class="panel panel-default">
	<table class="table">
    <caption>List of Amertican Sports</caption>
	  <tr><th scope="col">Name</th></tr>
    {{range .payload }}
      <tr><td><a href="/tysc/sport/view/{{.ID.Hex}}">{{.Name}}</a></td></tr>
    {{end}}
	</table>
  <div class="panel-body">
    <a href="/tysc/sport/create">Add entry</a>
  </div>
</div>
{{ template "footer.html" .}}
{{ end }}
