Sha256: 8b63c617469564c93f38524dda0bd473202a37cf98e01aba2edacfe27ec779ea

Contents?: true

Size: 809 Bytes

Versions: 5

Compression:

Stored size: 809 Bytes

Contents

<div class="page-header">
  <%= link_to new_device_path, :class => 'btn btn-primary' do %>
    <span class="glyphicon glyphicon-plus"></span>
    New User
  <% end %>
  <h1>Listing devices</h1>
</div>

<div class="table-responsive">
  <table class="table table-striped table-bordered table-hover">
    <thead>
      <tr>
            <th>Name</th>
            <th></th>
        <th></th>
        <th></th>
      </tr>
    </thead>

    <tbody>
      <%= content_tag_for(:tr, @devices) do |device| %>
            <td><%= device.platform %></td>
            <td><%= link_to 'Show', device %></td>
        <td><%= link_to 'Edit', edit_device_path(device) %></td>
        <td><%= link_to 'Destroy', device, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
agilib-0.1.9 app/views/agilib/devices/index.html.erb
agilib-0.1.8 app/views/agilib/devices/index.html.erb
agilib-0.1.7 app/views/agilib/devices/index.html.erb
agilib-0.1.6 app/views/agilib/devices/index.html.erb
agilib-0.1.5 app/views/agilib/devices/index.html.erb