Sha256: 2dec3332fd894215f9b99a025d86e441b56b36dd7bff6617e2b464bedf53a321

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

<h1>Mylist</h1>

<% if @products.empty? %>
  There are not product yet.
<% else %>
  <%= form_for @inquiry, url: new_inquiry_path, method: :get do |f| %>
    <ul>
      <% @products.each do |product| %>
        <li>
          <label>
            <%= f.check_box 'product_ids', {multiple: true}, product.id, nil %>
            <%= product.name %>
          </label>
        </li>
      <% end %>
    </ul>

    <%= f.submit 'Inquiry with these products' %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
daimon-exhibition-0.1.0 spec/dummy/app/views/mylist/products/index.html.erb