Sha256: 338a6fb55631d32b791e4ff2cfa076cbb7a96e99049779a9e01a10db9ba050b6

Contents?: true

Size: 859 Bytes

Versions: 6

Compression:

Stored size: 859 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 fa fa-ok', 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

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.3.1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.3.0 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/prototypes/_prototypes.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/prototypes/_prototypes.html.erb