{% extends 'utilities/bulk_edit_form.html' %}
{% load form_helpers %}

{% block title %}Rack Bulk Edit{% endblock %}

{% block select_objects_table %}
    <tr>
        <th>Name</th>
        <th>Site</th>
        <th>Group</th>
        <th>Tenant</th>
        <th>Type</th>
        <th>Width</th>
        <th>Height</th>
    </tr>
    {% for rack in selected_objects %}
        <tr>
            <td><a href="{% url 'dcim:rack' pk=rack.pk %}">{{ rack }}</a></td>
            <td>{{ rack.site }}</td>
            <td>{{ rack.group }}</td>
            <td>{{ rack.tenant }}</td>
            <td>{{ rack.get_type_display }}</td>
            <td>{{ rack.get_width_display }}</td>
            <td>{{ rack.u_height }}U</td>
        </tr>
    {% endfor %}
{% endblock %}
