Sha256: a6d1c95757a174b55d4d07c8a9be6985ba6916d88ca1c1338bce10fb466fd902
Contents?: true
Size: 1.11 KB
Versions: 4
Compression:
Stored size: 1.11 KB
Contents
<div class="page-header nav"> <%= link_to new_device_path, class: 'btn btn-default navbar-btn pull-right' do %> + <%= t('.new') %> <% end %> <h3 class='navbar-text'> <%= link_to extface.root_path do %> Extface<sup>♥</sup> <% end %> » <%= t('.devices') %> </h3> </div> <table class="table table-condensed table-stripped"> <thead> <tr class='active'> <th><%= t('.name') %></th> <th><%= t('.parent') %></th> <th><%= t('.driver') %></th> <th> </th> <th> </th> </tr> </thead> <tbody> <% @devices.each do |device| %> <tr> <td><%= link_to device.name, device %></td> <td><%= device.extfaceable.composite_id %></td> <td><%= device.driveable ? device.driveable.class::NAME : 'N/A' %></td> <td class='text-right'><%= link_to 'Edit', edit_device_path(device), class: 'btn btn-primary btn-sm' %></td> <td class='text-right'><%= button_to 'Delete', device, method: :delete, class: 'btn btn-danger btn-sm', data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table>
Version data entries
4 entries across 4 versions & 1 rubygems