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.49.2 app/forms/both_types_of_caption_form.rb
primer_view_components-0.35.2 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.49.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.49.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.35.1 app/forms/both_types_of_caption_form.rb
primer_view_components-0.35.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.48.2 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.48.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.48.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.47.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.47.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.34.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.46.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.46.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.45.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.44.3 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.44.2 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.44.1 app/forms/both_types_of_caption_form.rb
primer_view_components-0.33.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.44.0 app/forms/both_types_of_caption_form.rb