Sha256: b9bb127dc52343d34fd27aebbb78fb1f0c1dee36d510055249037d42c795d91f

Contents?: true

Size: 590 Bytes

Versions: 4

Compression:

Stored size: 590 Bytes

Contents

= admin_form_for resource, nested: true do |f|
  = f.input :is_visible
  = f.locale_tabs do |l|
    = f.input :name, locale: l

  = f.simple_fields_for :products do |product|
    = product.hidden_field :fileupload_guid

    = product.input :sku
    = product.input :is_visible
    = product.input :price
    = product.association :collection

    = product.locale_tabs do |l|
      = product.input :name, locale: l

    = input_set t('admin.pictures') do
      = product.attach_file_field :pictures

    = product.link_to_remove_assoc

  = f.link_to_add_assoc :products

  = f.save_buttons

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ab_admin-0.3.6 spec/dummy/app/views/admin/collections/_form.html.slim
ab_admin-0.3.5 spec/dummy/app/views/admin/collections/_form.html.slim
ab_admin-0.3.4 spec/dummy/app/views/admin/collections/_form.html.slim
ab_admin-0.3.3 spec/dummy/app/views/admin/collections/_form.html.slim