s">
                        <span class="mdi mdi-trash-can-outline" aria-hidden="true"></span> Delete selected
                    </button>
                {% endif %}
                {% if perms.dcim.add_modulebay %}
                    <div class="pull-right">
                        <a href="{% url 'dcim:modulebay_add' %}?parent_device={{ object.pk }}&return_url={{ request.path }}" class="btn btn-primary btn-xs">
                            <span class="mdi mdi-plus-thick" aria-hidden="true"></span> Add