Sha256: 0408c09bbd83ec5660245213d8e19052c5ec3f2c044c899da50f711840eafc64

Contents?: true

Size: 1018 Bytes

Versions: 4

Compression:

Stored size: 1018 Bytes

Contents

<%= render :partial => 'shared/product_sub_menu' %>
<h1><%=t("Prototypes") %></h1>
<table class="basic-table">
	<thead>
		<tr>
			<th><%= t("Name") %></th>
			<th><%= t("Action") %></th>
		</tr>
	</thead>
	<tbody>
    <% @prototypes.each do |prototype| %>
      <tr>
        <td valign="top"><%= prototype.name %></td>
		    <td valign="top">
		      <%= link_to_edit(prototype) %>
		      &nbsp;
		      <%= link_to_delete(prototype) %>
		    </td>        
      </tr>
    <% end %>
  </tbody>
</table>

<div id="prototypes"/>
<%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'busy_indicator' %>
<br/>
<span id="new_proto_link">
  <%= link_to_remote t("New Prototype"), 
                     :url => new_admin_prototype_url, 
                     :method => :get,
                     :update => "prototypes",
                     :before => "Element.hide('new_proto_link');Element.show('busy_indicator')", 
                     :complete => "Element.hide('busy_indicator')" %>
</span>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree-0.4.1 app/views/admin/prototypes/index.html.erb
spree-0.4.0 app/views/admin/prototypes/index.html.erb
spree-0.5.0 app/views/admin/prototypes/index.html.erb
spree-0.5.1 app/views/admin/prototypes/index.html.erb