Sha256: 0f4ada22e9a82a31fafab7c1b5b1b9b824f45b3909ac5498161fd857410a10a3

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

<h1>Listing other_items</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Sequence</th>
      <th>Updated at</th>
      <th></th>
      <th></th>
      <th></th>
    </tr>
  </thead>

  <tbody class="sortable">
    <% sortable_fetch(@other_items) do |other_item, id_tag| %>
      <tr id="<%= id_tag %>">
        <td><%= other_item.title %></td>
        <td><%= other_item.sequence %></td>
        <td><%= other_item.updated_at %></td>
        <td><%= link_to 'Show', other_item %></td>
        <td><%= link_to 'Edit', edit_other_item_path(other_item) %></td>
        <td><%= link_to 'Destroy', other_item, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Other item', new_other_item_path %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_sortable-0.0.5 spec/dummy/app/views/other_items/index.html.erb