Sha256: fc253cc946088170471d3472eeb451e749b094ee8364fa43b4f4f0f62d5c484b
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 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> <%= f.text_field :sku, :size => 16 %> </td> </tr> <tr> <td><%=t("On Hand")%>: </td> <td> <%= f.text_field :on_hand, :size => 4 %> </td> </tr> <% end %> <tr> <td nowrap><%=t("Shipping Category")%>: </td> <td> <%= collection_select(:product, :shipping_category_id, @shipping_categories, :id, :name, {:include_blank => true}, {"style" => "width:200px"}) %> </td> </tr> <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.5.0 | app/views/admin/products/_form.html.erb |
spree-0.5.1 | app/views/admin/products/_form.html.erb |