Sha256: e314b45af7c934a88d98a609aef1b50a0c682f89d461282d905ba01af7f63f48

Contents?: true

Size: 947 Bytes

Versions: 15

Compression:

Stored size: 947 Bytes

Contents

<div class="table-responsive">
  <table class="table table-condensed table-bordered">
    <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">
          <td><%= prototype.name %></td>
          <td class="actions actions-1">
            <%= link_to_with_icon 'save.svg',
              Spree.t(:select),
              select_admin_prototype_url(prototype),
              class: 'btn btn-success btn-sm ajax select_properties_from_prototype',
              no_text: true %>
          </td>
        </tr>
      <% end %>
      <% if @prototypes.empty? %>
        <tr data-hook="available_none">
          <td colspan="2">
            <% Spree.t(:none) %>.
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.6 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.5 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.4 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.3 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.2 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.1 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0.rc5 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0.rc4 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0.rc3 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0.rc2 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0.rc1 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_backend-4.2.0.beta app/views/spree/admin/prototypes/_prototypes.html.erb