Sha256: 9e48b04fa34999f75a52e0be9d2e83b8710f63846f2edb622faa9f5c64f7487d

Contents?: true

Size: 652 Bytes

Versions: 8

Compression:

Stored size: 652 Bytes

Contents

<h3>Available Option Types</h3>
<table class="option-types">
	<thead>
		<tr>
			<th>Name</th>
			<th>Display</th>
			<th></th>
	  </tr>
	</thead>
	<tbody>
		<% @option_types.each do |ot| %>
			<tr>
				<td><%=ot.name%></td>
				<td><%=ot.display%></td>
				<td>
					  <%= link_to_remote "Select",
					                     :url => {:controller => 'products', :action => 'add_option_type', :id=> @product, :option_type_id => ot},
					                     :update => 'option-type-listing' %>					
				</td>
			</tr>
		<% end %>
		<% if @option_types.empty? %>
			<tr>
				<td colspan="3">None Available.</td>
			</tr>
		<% end %>		
  </tbody>
</table>

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
railscart-0.0.3 starter_app/vendor/plugins/railscart/app/views/admin/option_types/select.rhtml
railscart-0.0.4 starter_app/vendor/plugins/railscart/app/views/admin/option_types/select.rhtml
spree-0.0.6 starter-app/vendor/plugins/spree/app/views/admin/option_types/select.rhtml
spree-0.0.5 starter-app/vendor/plugins/spree/app/views/admin/option_types/select.rhtml
spree-0.0.9 app/views/admin/option_types/select.rhtml
spree-0.0.8 starter-app/vendor/plugins/spree/app/views/admin/option_types/select.rhtml
spree-0.0.7 starter-app/vendor/plugins/spree/app/views/admin/option_types/select.rhtml
spree-0.2.0 app/views/admin/option_types/select.rhtml