Sha256: ccd687f0730a8a3e9c22e90c065828ace3c0a0d88b59ff00270c633ed524aefc

Contents?: true

Size: 848 Bytes

Versions: 57

Compression:

Stored size: 848 Bytes

Contents

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

<h1>Listing Tests</h1>

<table class="bordered">
  <thead>
    <tr>
      <th>Price</th>
      <th>Name</th>
      <th>Description</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @tests.each do |test| %>
      <tr>
        <td>Rs.<%= test.price %></td>
        <td><%= test.name %></td>
        <td><%= test.description %></td>
        <td><%= link_to 'Show', test %></td>
        <td><%= link_to 'Edit', edit_test_path(test) %></td>
        <td><%= link_to 'Add to Cart',shopping_cart_items_path({:cart_item => Shopping::CartItem.new(test.attributes)}), method: :post %></td>
        <td></td>
        <td><%= link_to 'Destroy', test, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Test', new_test_path %>

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
wordjelly-auth-1.6.0 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.9 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.8 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.7 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.6 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.5 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.4 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.3 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.2 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.1 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.5.0 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.9 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.8 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.7 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.6 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.5 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.4 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.3 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.2 spec/dummy/app/views/tests/index.html.erb
wordjelly-auth-1.4.0 spec/dummy/app/views/tests/index.html.erb