{% extends 'main/header.html' %}

{% block content %}	
	  <p><b>Keller Inhalt  </b>
      <a href="{% url 'keller-new' %}" class="btn-floating "><i class="material-icons">add</i></a>
	  <form method='GET'' action='{% url "keller-list" %}' >
		<input type='text' name='q' placeholder='Search'>
	  </form>
	  </p>
	<table class="table" style='font-size: x-small' >
		<thead>
			<tr>
				<th>Name</th>
				<th>Menge</th>
				<th>Kiste | Nr</th>
			</tr>
		</thead>
		<tbody>
			{% for object in object_list %}
				<tr>
					<td><a href="{% url 'keller-detail' object.pk %} ">{{ object.name }}</a></td>
					<td>{{ object.menge }} {{ object.einheit }}</td>
					<td>{{ object.kiste }} | {{object.nr }}</td>
				</tr>
			{% endfor %}
		</tbody>
	</table>
{% endblock %}

