Sha256: 7c47d26b5eee3ac901278412719352c60654702f0ded18fb44d7b696a831c04a

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

<tr class="product_property">
  <td>
    <%= text_field_with_auto_complete :product_property, 
                                      :property_name,
                                      {:onkeypress => "return event.which == Event.KEY_RETURN ? false : true",
                                       :autocomplete => "off",
                                       :name => property_fu_name(product_property),
                                       :value => product_property.property ? product_property.property.name : ""
                                      },
                                      {:url => filtered_admin_properties_url,
                                       :method => :get,
                                       :with => "Object.toQueryString({q: element.value})" 
                                      } %>  
  </td>
  <td>
		<input type="test" size="25" name="product[product_property_attributes][<%= product_property.id %>][value]" 
		       value="<%= product_property.value %>"/>
	</td>	
  <td>
  	<a href='#' onclick="$(this).up('.product_property').remove();"><%= t("Remove") %></a>
  </td>
</tr>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-0.4.0 app/views/admin/product_properties/_product_property.html.erb
spree-0.4.1 app/views/admin/product_properties/_product_property.html.erb