devicehub-django/lot/templates/list_lots.html

39 lines
691 B
HTML
Raw Normal View History

2024-07-09 15:31:24 +00:00
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<div class="row">
<div class="col">
<h3>{{ subtitle }}</h3>
</div>
</div>
<form method="post">
{% csrf_token %}
<table class="table">
<thead>
<tr>
<th>Select</th>
<th>Lot Group / Lot</th>
</tr>
</thead>
<tbody>
{% for tag in lot_tags %}
{% for lot in lots %}
{% if lot.type == tag %}
<tr>
<td><input type="checkbox" name="lots" value="{{ lot.id }}" /></td>
<td>{{ tag }}/{{ lot.name }}</td>
</tr>
{% endif %}
{% endfor %}
{% endfor %}
</tbody>
</table>
2024-07-09 15:31:24 +00:00
2024-10-02 10:51:40 +00:00
<button class="btn btn-green-admin" type="submit">Save</button>
2024-07-09 15:31:24 +00:00
</form>
{% endblock %}