<% @devices.each do |device| %> <% end %>
<%= t('.name') %> <%= t('.parent') %> <%= t('.driver') %>    
<%= link_to device.name, device %> <%= device.extfaceable.composite_id %> <%= device.driver ? device.driver.class::NAME : 'N/A' %> <%= link_to 'Edit', edit_device_path(device), class: 'btn btn-primary btn-sm' %> <%= button_to 'Delete', device, method: :delete, class: 'btn btn-danger btn-sm', data: { confirm: 'Are you sure?' } %>