Make migrations, template stuff
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<th class="p-2">VIN Number</th>
|
||||
<th class="p-2">Engine Number</th>
|
||||
<th class="p-2">Chassis Number</th>
|
||||
<th></th>
|
||||
<th class="p-2">Links</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for object in object_list %}
|
||||
@@ -25,7 +25,7 @@
|
||||
<td class="p-2">{{ object.vin_number|default:"Unknown" }}</td>
|
||||
<td class="p-2">{{ object.engine_number|default:"Unknown" }}</td>
|
||||
<td class="p-2">{{ object.chassis_number|default:"Unknown" }}</td>
|
||||
<td>{% url 'vehicle_detail' object.pk %}</td>
|
||||
<td class="p-2"><a href="{% url 'vehicle_detail' object.pk %}" class="underline text-blue-100 border rounded p-2 bg-black bg-opacity-10">Detail</a></td>
|
||||
</tr>
|
||||
{% empty %}
|
||||
<tr class="bg-yellow-400">
|
||||
|
||||
Reference in New Issue
Block a user