Sha256: 84bd66528e70ce4bbcad9db1599cbb1619f2aefcd1befb60722f21a45493fe37

Contents?: true

Size: 555 Bytes

Versions: 5

Compression:

Stored size: 555 Bytes

Contents

= twitter_form_for [:admin, @product] do |f|
  = field_set do
    = f.errors
    = flash_messages

    = f.string :name
    = f.string :sku, div_class: 'col-md-2'
    = f.string :price, div_class: 'col-md-2'
    = f.combobox :category_id, Market::Category.for_combo(nil).map{|r| [r.full_name, r.id]}, include_blank: true
    = f.textarea :description, rows: 3
    = render_slides(f, 'Слайдер', :images)

  = render 'admin/common/nested_fields_for', f: f, section_name: 'Свойства', collection: :product_properties

  = standard_actions(f)


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
coalla-cms-0.4.2.0 lib/generators/coalla/cms/market/templates/views/products/_form.html.haml
coalla-cms-0.5.2.4 lib/generators/coalla/cms/market/templates/views/products/_form.html.haml
coalla-cms-0.4.4.3 lib/generators/coalla/cms/market/templates/views/products/_form.html.haml
coalla-cms-0.5.1.9 lib/generators/coalla/cms/market/templates/views/products/_form.html.haml
coalla-cms-0.5.1.8 lib/generators/coalla/cms/market/templates/views/products/_form.html.haml