$def with (hardware)
$var title = _("Hardware Profile")

$var hierarchy = []

<div class="harware-profile">
    <table>
        <tr>
            <th>$(_("type"))</th>
            <th>$(_("description"))</th>
        </tr>
        $for element in hardware.elements:
            <tr class="$loop.parity hardware-element">
                <td>$element.type</td>
                <td>$element.description</td>
            </tr>
    </table>
</div>
