Sha256: 78c5310e26e528a2695257d994fe2b00fab0443ddc501c2b20eaf155d8e97959

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

<table class="index">
  <thead>
    <tr data-hook="avilable_header">
      <th><%= t("name") %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @prototypes.each do |prototype| %>
      <tr id="row_<%= prototype.id %>" data-hook="available_row">
        <td><%= prototype.name %></td>
        <td class="actions">
          <%= link_to icon('add') + ' ' + t("select"), select_admin_prototype_url(prototype), 
                      :class => 'ajax iconlink select_properties_from_prototype' %>
        </td>
      </tr>
    <% end %>
    <% if @prototypes.empty? %>
     <tr data-hook="available_none"><td colspan="2"><% t("none") %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/prototypes/_prototypes.html.erb
spree_core-0.70.RC1 app/views/admin/prototypes/_prototypes.html.erb