Sha256: 692d1030ec5b4aababf7113dae4df79946d7d35c184210b444bafe04aaf79553

Contents?: true

Size: 788 Bytes

Versions: 9

Compression:

Stored size: 788 Bytes

Contents

<table class="index">
  <colgroup>
    <col style="width: 80%" />
    <col style="width: 20%" />
  </colgroup>
  <thead>
    <tr data-hook="avilable_header">
      <th><%= 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 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"><% t(:none) %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_core-1.3.5 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.4 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.3 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.2 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.1 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.0 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/prototypes/_prototypes.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/prototypes/_prototypes.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/prototypes/_prototypes.html.erb