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.43.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.43.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.32.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.42.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.31.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.41.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.41.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.40.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.30.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.39.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.39.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.38.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.29.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.28.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.37.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.37.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.36.2 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.36.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.36.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.27.0 app/forms/both_types_of_caption_form.rb