2020-01-11 17:41:03 +01:00
|
|
|
{% extends "core/base.html" %}
|
2019-08-02 13:05:42 +02:00
|
|
|
{% load render_table from django_tables2 %}
|
2017-12-29 12:35:50 +01:00
|
|
|
{% block section_title %}List of Computers{% endblock %}
|
2017-12-29 12:33:05 +01:00
|
|
|
{% block content %}
|
2020-02-29 11:45:26 +01:00
|
|
|
<div class="row mb-3">
|
|
|
|
<div class="col">
|
2020-05-02 22:28:07 +02:00
|
|
|
<form action="{% url 'computer_create' pk %}">{% csrf_token %}
|
2020-02-29 11:45:26 +01:00
|
|
|
<input type="submit" value="Add Computer" class="btn btn-primary">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
{% render_table computers %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-12-29 12:33:05 +01:00
|
|
|
{% endblock %}
|