{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% load render_table from django_tables2 %}
{% load perms %}

{% block controls %}
{{ block.super }}
{% endblock controls %}

{% block breadcrumbs %}
{{ block.super }}
{% endblock %}

{% block tabs %}
{{ block.super }}
{% endblock %}

{% block content %}
<div class="row">
    <div class="col">
        <div class="card">
            <h5 class="card-header">Linux Device</h5>
            <div class="card-body">
                <table class="table table-hover attr-table">
                    <tr>
                        <th scope="row">Device Name</th>
                        <td>{{ object.device|linkify|placeholder }}</td>
                    </tr>
                    <tr>
                        <th scope="row">Size</th>
                        <td>{{ object.size }}</td>
                    </tr>
                    <tr>
                        <th scope="row">Type</th>
                        <td>{{ object.type }}</td>
                    </tr>
                    <tr>
                        <th scope="row">Parent Object</th>
                        <td>{{ object.object|linkify }}</td>
                    </tr>
                </table>
            </div>
        </div>
        {% include 'inc/panels/custom_fields.html' %}
    </div>
</div>

{% endblock %}
