Sha256: b5bf1eae4c4f83c1bbfd79239e3c13ab34853665fb6630b9d5dcc80cb2209011

Contents?: true

Size: 545 Bytes

Versions: 2

Compression:

Stored size: 545 Bytes

Contents

%table#product_sizes
  %thead
    %tr
      %th
        Nom
      %th
        Stock
      %th
        Suppression
  %tbody
    = f.fields_for :sizes do |s|
      %tr{ :class => cycle('even','odd')}
        %td
          = s.text_field :name
        %td
          = s.text_field :quantity
        %td
          = s.hidden_field :id
          = s.hidden_field :_destroy, :class => 'delete'
          = s.hidden_field :position
          = link_to 'supprimer', '#', :class => 'remove_this_size'
= link_to 'add a size', '#', :class => 'add_a_size'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/products/_sizes.html.haml
forgeos_commerce-1.9.0 app/views/admin/products/_sizes.html.haml