Sha256: 47614b4e405b250631df25f4d9bd91b62f3297fba1a6aada6045e0ddf7d25a0c

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

= form_for @product, :html => {:class => 'edit_product scaffold'} do |f|
  = render :partial => 'shared/user_notice', :locals => {:model_obj => @product}

  %div.formC_700
    .field
      = f.label :name, 'Name'
      = f.text_field :name

    .field
      = f.label :permalink, 'Permalink'
      %div.disabled_form_field= @product.permalink

    .field
      = f.label :descr, 'Description'
      = f.text_area :descr

    .field
      = f.label :price
      = f.text_field :price

    .field
      = f.label :sale_price
      = f.text_field :sale_price

    .field
      = f.label :shipping_weight, "Shipping Weight (lbs)"
      = f.text_field :shipping_weight

    
    .field
      = f.label :meta_description, 'Meta Description'
      = f.text_field :meta_description

    .field
      = f.label :meta_keywords, 'Meta Keywords'
      = f.text_field :meta_keywords

    .actions.clearfix
      = f.submit 'Save Product Information', :class => :button

%hr
= render :partial => 'photos/form'
%hr
= render :partial => 'photos/destroy'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecommerce-0.0.6 app/views/products/_form.html.haml
ecommerce-0.0.5 app/views/products/_form.html.haml
ecommerce-0.0.4 app/views/products/_form.html.haml
ecommerce-0.0.3 app/views/products/_form.html.haml
ecommerce-0.0.2 app/views/products/_form.html.haml