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.10.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.9.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.9.1 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.9.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.8.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.8.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.7.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.7.0 app/forms/both_types_of_caption_form.rb
openproject-primer_view_components-0.6.3 app/forms/both_types_of_caption_form.rb
primer_view_components-0.6.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.5.1 app/forms/both_types_of_caption_form.rb
primer_view_components-0.5.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.4.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.3.1 app/forms/both_types_of_caption_form.rb
primer_view_components-0.3.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.2.0 app/forms/both_types_of_caption_form.rb
primer_view_components-0.1.9 app/forms/both_types_of_caption_form.rb
primer_view_components-0.1.8 app/forms/both_types_of_caption_form.rb
primer_view_components-0.1.7 app/forms/both_types_of_caption_form.rb
primer_view_components-0.1.6 app/forms/both_types_of_caption_form.rb