Sha256: 78122f9381185350df76fb7973958464db7633ff072b2d381c10fa8621355bbf

Contents?: true

Size: 1.1 KB

Versions: 17

Compression:

Stored size: 1.1 KB

Contents

<%= render :partial => 'spree/admin/shared/product_sub_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_prototype_link">
      <%= button_link_to t(:new_prototype), new_admin_prototype_url, {:remote => true, :icon => 'add', 'data-update' => 'new_prototype', :id => 'new_prototype_link'} %>
    </li>
  </ul>
  <br class="clear" />
</div>


<h1><%= t(:prototypes) %></h1>

<%= image_tag 'spinner.gif', :plugin => 'spree', :style => 'display: none', :id => 'busy_indicator' %>
<div id="new_prototype"></div>

<table class="index" id='listing_prototypes' data-hook>
  <thead>
    <tr data-hook="prototypes_header">
      <th><%= t(:name) %></th>
      <th><%= t(:action) %></th>
    </tr>
  </thead>
  <tbody>
    <% @prototypes.each do |prototype| %>
      <tr id="<%= spree_dom_id prototype %>" data-hook="prototypes_row">
        <td><%= prototype.name %></td>
        <td class="actions">
          <%= link_to_edit(prototype, :class => 'admin_edit_prototype') %>
          &nbsp;
          <%= link_to_delete(prototype) %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.6 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.5 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.2.4 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.2.3 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.2.2 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.4 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.2.0 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.3 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.2 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.1 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.0 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.0.rc2 app/views/spree/admin/prototypes/index.html.erb
spree_core-1.1.0.rc1 app/views/spree/admin/prototypes/index.html.erb