Sha256: 92a1523663ea8475656c894c8e8123dea31c7e80b7adf4f6f274ade21077bba7

Contents?: true

Size: 824 Bytes

Versions: 13

Compression:

Stored size: 824 Bytes

Contents

<table class="index">
	<thead>
		<tr>
			<th><%= t("name") %></th>
			<th></th>
		</tr>
	</thead>
	<tbody>
    <% @prototypes.each do |prototype| %>
      <tr id="row_<%= prototype.id %>">
        <td><%= prototype.name %></td>
		    <td class="actions">
					<%= link_to_remote icon('add') + ' ' + t("select"), 
		                         {:url => select_admin_prototype_url(prototype), 
		                         :update => 'rjs-target',
														 :before => "Element.show('busy_indicator')", 
				                     :complete => "Element.hide('busy_indicator');Element.hide('row_#{prototype.id}');"}, :class => 'iconlink' %>
				</td>
      </tr>
    <% end %>
    <% if @prototypes.empty? %>
     <tr><td colspan="2"><% t("none") %>.</td></tr>
    <% end %>
  </tbody>
</table>

<script id="rjs-target"></script>

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/prototypes/available.html.erb
spree-enriquez-0.9.4 app/views/admin/prototypes/available.html.erb
spree-0.9.4 app/views/admin/prototypes/available.html.erb
spree-0.9.3 app/views/admin/prototypes/available.html.erb
spree-0.9.2 app/views/admin/prototypes/available.html.erb
spree-0.9.1 app/views/admin/prototypes/available.html.erb
spree-0.9.0 app/views/admin/prototypes/available.html.erb
spree-0.8.4 app/views/admin/prototypes/available.html.erb
spree-0.8.5 app/views/admin/prototypes/available.html.erb
spree-0.8.0 app/views/admin/prototypes/available.html.erb
spree-0.8.1 app/views/admin/prototypes/available.html.erb
spree-0.8.2 app/views/admin/prototypes/available.html.erb
spree-0.8.3 app/views/admin/prototypes/available.html.erb