<!--comics/publishers.html-->
{{ define "comics/publishers.html" }}
{{ template "header.html" .}}
{{ template "comics/menu.html" .}}
<ul class="nav nav-tabs">
  <li role="presentation"><a href="/comics/comic">Comics</a></li>
  <li role="presentation" class="active"><a href="/comics/publisher">Publishers</a></li>
  <li role="presentation"><a href="/comics/artist">Artists</a></li>
</ul>

  <div class="panel panel-default">
  	<table class="table">
      <caption>Comic Publishers</caption>
  	  <tr><th scope="col">Name</th></tr>
      {{range .payload }}
        <tr><td><a href="/comics/publisher/view/{{.ID.Hex}}">{{.Name}}</a></td></tr>
      {{end}}
  	</table>
    <div class="panel-body">
      <a href="/comics/publisher/create">Add entry</a>
    </div>
  </div>

{{ template "footer.html" .}}
{{ end }}
