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
openproject-primer_view_components-0.35.2 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.35.1 app/forms/both_types_of_caption_form.rb
primer_view_components-0.26.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.35.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.26.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.34.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.33.2 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.33.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.33.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.25.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.32.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.32.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.29.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.29.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.23.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.28.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.28.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.27.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.26.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.25.1 app/forms/both_types_of_caption_form.rb