Sha256: cb4d7ca0a86cb26b31ee89e925bb59c83c7dc63f3b4c4f0edb51a67d99ee197a

Contents?: true

Size: 746 Bytes

Versions: 3

Compression:

Stored size: 746 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Products</h1>

<input autofocus type="text" name="q" placeholder="Programming languages ..." style="width:100%;max-width:600px;outline:0">

<table>
    <thead>
        <tr>
            <th>Name</th>
            <th colspan="3"></th>
        </tr>
    </thead>

    <tbody>
        <% @products.each do |product| %>
        <tr>
            <td><%= product.name %></td>
            <td><%= link_to 'Show', product %></td>
            <td><%= link_to 'Edit', edit_product_path(product) %></td>
            <td><%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %></td>
        </tr>
        <% end %>
    </tbody>
</table>

<br>

<%= link_to 'New Product', new_product_path %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
autocompl-0.2.2 test/dummy/app/views/products/index.html.erb
autocompl-0.2.1 test/dummy/app/views/products/index.html.erb
autocompl-0.2.0 test/dummy/app/views/products/index.html.erb