Branch master was renamed to main.

devicehub-django/lot/templates/list_lots.html

33 lines
662 B
HTML
Raw Permalink 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 %}
2024-07-18 15:21:22 +00:00
{% for tag in lot_tags %}
2024-07-09 15:31:24 +00:00
<div class="row">
2024-07-18 15:21:22 +00:00
<div class="col-lg-3 col-md-4 label ">{{ tag }}</div>
2024-07-09 15:31:24 +00:00
</div>
{% for lot in lots %}
2024-07-18 15:21:22 +00:00
{% if lot.type == tag %}
2024-07-09 15:31:24 +00:00
<div class="row">
<div class="col-lg-3 col-md-4 label "><input type="checkbox" name="lots" value="{{ lot.id }}" /></div>
<div class="col-lg-3 col-md-4 label ">{{ lot.name }}</div>
</div>
{% endif %}
{% endfor %}
{% endfor %}
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 %}