Sha256: 1b5e84242523c20da38aab3a1dbada5e8624520b2f34a4ae2badebea4116a0d9

Contents?: true

Size: 265 Bytes

Versions: 149

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

# :nodoc:
class BothTypesOfCaptionForm < ApplicationForm
  form do |caption_form|
    caption_form.text_field(
      name: :first_name,
      label: "First name",
      required: true,
      caption: "What you go by."
    )
  end
end

Version data entries

149 entries across 149 versions & 3 rubygems

Version Path
primer_view_components-0.0.111 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.110 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.109 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.108 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.107 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.106 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.105 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.104 app/forms/both_types_of_caption_form.rb
primer_view_components-0.0.103 app/forms/both_types_of_caption_form.rb