{% extends '_base.html' %}
{% load helpers %}

{% block title %}Rack Groups{% endblock %}

{% block content %}
<div class="pull-right">
    {% if perms.dcim.add_rackgroup %}
        <a href="{% url 'dcim:rackgroup_add' %}" class="btn btn-primary">
            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
            Add a rack group
        </a>
    {% endif %}
</div>
<h1>Rack Groups</h1>
<div class="row">
	<div class="col-md-9">
        {% include 'utilities/obj_table.html' with bulk_delete_url='dcim:rackgroup_bulk_delete' %}
    </div>
    <div class="col-md-3">
		{% include 'inc/filter_panel.html' %}
    </div>
</div>
{% endblock %}
