Sha256: 2455c342347d6afe33a7bb3bab0f84c22e468ec83791c8bbad530986d581686b

Contents?: true

Size: 850 Bytes

Versions: 12

Compression:

Stored size: 850 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 Spree.t(: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"><% Spree.t(:none) %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
solidus_backend-2.0.3 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.4.2 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-2.0.2 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.4.1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_prototypes-1.0.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-2.0.1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-2.0.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.4.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/prototypes/_prototypes.html.erb