Sha256: a279f8c66e83ee174245d008030fb2f31f1121f663ad211e431dd82637b32e6a

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

# frozen_string_literal: true

# :nodoc:
class SelectListForm < ApplicationForm
  form do |check_form|
    check_form.select_list(name: "cities", label: "Cool cities", caption: "Select your favorite!") do |city_list|
      city_list.option(label: "Lopez Island", value: "lopez_island")
      city_list.option(label: "Bellevue", value: "bellevue")
      city_list.option(label: "Seattle", value: "seattle")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
primer_view_components-0.0.103 app/forms/select_list_form.rb