Sha256: 67de412b1f1d66b797b23b2f0b219b11337de80d0fa68d3f1b3fe11c906ac4b8

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

- @object = DummyFormObject.new(has_errors: false)

.row.double-gap-top
  %form.uc-form
    = simple_fields_for @object do |f|
      .row
        = f.input :input_with_optgroups,
          as: :grouped_select,
          collection: [['Asia', ['China', 'Japan']], ['Africa', ['Egypt', 'Morocco']]],
          :group_method => :last

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
undercase-0.2.57 app/views/undercase/patterns/_uc_forms_dropdown_with_optgroups.html.haml
undercase-0.2.29 app/views/undercase/patterns/_uc_forms_dropdown_with_optgroups.html.haml