Sha256: 981018b42b12a84fca3b86b05ad9ef31371599a49caac72f68ff2b32702a2267

Contents?: true

Size: 811 Bytes

Versions: 12

Compression:

Stored size: 811 Bytes

Contents

<table class="index">
  <colgroup>
    <col style="width: 80%" />
    <col style="width: 20%" />
  </colgroup>
  <thead>
    <tr data-hook="available_header">
      <th><%= Spree.t(: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 fa fa-check' %>
        </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 & 1 rubygems

Version Path
spree_backend-2.2.14 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.13 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.12 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.11 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.10 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.9 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.8 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.7 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.6 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.5 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.4 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.3 app/views/spree/admin/prototypes/_prototypes.html.erb