Sha256: aaf655fb0ab68f03811e1c3bcdc982e90084c2a68df501261a7ddf4c8848f005
Contents?: true
Size: 1.63 KB
Versions: 2
Compression:
Stored size: 1.63 KB
Contents
<% content_for :head do %> <%= calendar_date_select_includes %> <% end %> <table cellspacing="5"> <tr> <td><%= t("Name")%>: </td> <td> <%=error_message_on :product, :name%> <%= text_field :product, :name %> </td> </tr> <tr> <td valign="top"><%= t("Description")%>: </td> <td> <%= error_message_on :product, :description %> <%= text_area :product, :description, {:cols => 90, :rows => 10} %> </td> </tr> <tr> <td nowrap><%= t("Master Price")%>: </td> <td> <%=error_message_on :product, :master_price%> <%= text_field :product, :master_price %></p> </td> </tr> <tr> <td><%= t("Available On")%>: </td> <td> <%= error_message_on :product, :available %> <%= calendar_date_select :product, :available_on, :style=>"width:150px" %> </td> </tr> <% if @product.variant %> <tr> <td><%=t("SKU")%>: </td> <td><input type="text" name="variant[<%= @product.variant.id %>][sku]" value="<%= @product.variant.sku %>"/></td> </tr> <tr> <td><%=t("On Hand")%>: </td> <td> <%= f.text_field :on_hand, :size => 4 %> </td> </tr> <% end %> <tr> <td nowrap><%=t("Tax Category")%>: </td> <td> <%= collection_select(:product, :tax_category_id, @tax_categories, :id, :name, {:include_blank => true}, {"style" => "width:200px"}) %> </td> </tr> <tr> <td colspan="2"> <div id="image-listing"> <%= render :partial => 'images', :locals => {:viewable => @product, :f => f} -%> </div> </td> </tr> </table>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree-0.4.1 | app/views/admin/products/_form.html.erb |
spree-0.4.0 | app/views/admin/products/_form.html.erb |