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

{% block title %}Device Roles{% endblock %}

{% block content %}
<div class="pull-right">
    {% if perms.dcim.add_devicerole %}
        <a href="{% url 'dcim:devicerole_add' %}" class="btn btn-primary">
            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
            Add a device role
        </a>
    {% endif %}
</div>
<h1>Device Roles</h1>
<div class="row">
	<div class="col-md-12">
        {% include 'utilities/obj_table.html' with bulk_delete_url='dcim:devicerole_bulk_delete' %}
    </div>
</div>
{% endblock %}
