Sha256: a4ce17cb1831b59e9a47f9e5ebd5c7e6ab10d7c424b61c6d017b1e9ebab9227c

Contents?: true

Size: 800 Bytes

Versions: 4

Compression:

Stored size: 800 Bytes

Contents

<table class="basic-table">
	<thead>
		<tr>
			<th><%= t("Name") %></th>
			<th><%= t("Action") %></th>
		</tr>
	</thead>
	<tbody>
    <% @prototypes.each do |prototype| %>
      <tr id="row_<%= prototype.id %>">
        <td valign="top"><%= prototype.name %></td>
		    <td valign="top">
					<%= link_to_remote "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}');" %>
				</td>
      </tr>
    <% end %>
    <% if @prototypes.empty? %>
     <tr><td colspan="2">None.</td></tr>
    <% end %>
  </tbody>
</table>

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

Version data entries

4 entries across 4 versions & 1 rubygems

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