{% extends 'base.html' %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<table>
<tr>
<th>Диаметр</th>
{% if not by_brand %}<th>Производитель</th>{% endif %}
<th>Модель</th>
<th>Нагрузка</th>
<th>Скор. индекс.</th>
<th>Цена</th>
</tr>
{% for object in object_list %}
<tr>
<td>{{ object.diameter }}</td>
{% if not by_brand %}<td>{{ object.brand }}</td>{% endif %}
<td>{{ object.model }}</td>
<td>{{ object.workload }}</td>
<td>{{ object.speedindex }}</td>
<td>{{ object.price }}</td>
</tr>
{% endfor %}
<table>
{% endblock %}