Sha256: 4c03951c445bf376aa2c7b327c95cfdec7c455d9c8c3cc5de5ab0b960be882a8

Contents?: true

Size: 862 Bytes

Versions: 8

Compression:

Stored size: 862 Bytes

Contents

<table class="index">
  <colgroup>
    <col style="width: 80%" />
    <col style="width: 20%" />
  </colgroup>
  <thead>
    <tr data-hook="available_header">
      <th><%= Spree::Prototype.human_attribute_name(:name) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @prototypes.each do |prototype| %>
      <tr id="row_<%= prototype.id %>" data-hook="available_row" class="<%= cycle('odd', 'even')%>">
        <td><%= prototype.name %></td>
        <td class="actions">
          <%= link_to I18n.t('spree.select'), select_admin_prototype_url(prototype), class: 'ajax button select_properties_from_prototype', data: { remote: true } %>
        </td>
      </tr>
    <% end %>
    <% if @prototypes.empty? %>
     <tr data-hook="available_none"><td colspan="2"><% I18n.t('spree.none') %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
solidus_prototypes-1.6.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.5.1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.5.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.4.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.3.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.2.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.1.1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.1.0 app/views/spree/admin/prototypes/_prototypes.html.erb