network_inventory/computers/templates/computers/all_computers.html

16 lines
429 B
HTML
Raw Normal View History

2020-01-11 17:41:03 +01:00
{% extends "core/base.html" %}
2019-08-02 16:54:32 +02:00
{% load render_table from django_tables2 %}
2020-02-29 12:02:07 +01:00
{% load crispy_forms_tags %}
2019-08-02 16:54:32 +02:00
{% block section_title %}List of Computers{% endblock %}
{% block content %}
<p>
<form action="" method="get" class="form form-inline">
{% csrf_token %}
2020-02-29 12:02:07 +01:00
{{ filter.form|crispy }}
<input type="submit" value="Filter" class="btn btn-primary">
2019-08-02 16:54:32 +02:00
</form>
</p>
2019-08-02 16:54:32 +02:00
{% render_table table %}
{% endblock %}