Sha256: cd44c4c8b5c7caa9fa2d8fd75cba768d8f1217ff12a3f85da8f967355406615b

Contents?: true

Size: 806 Bytes

Versions: 30

Compression:

Stored size: 806 Bytes

Contents

<table class="index">
  <colgroup>
    <col style="width: 80%" />
    <col style="width: 20%" />
  </colgroup>
  <thead>
    <tr data-hook="avilable_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 icon-ok' %>
        </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

30 entries across 30 versions & 1 rubygems

Version Path
spree_backend-2.1.12 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.11 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.10 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.13 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.9 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.8 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.12 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.7 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.11 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.10 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.1 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.6 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.2.0 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.5 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.9 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.4 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.8 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.3 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.0.7 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-2.1.2 app/views/spree/admin/prototypes/_prototypes.html.erb