Sha256: 493f3c3b9aa7dc79e1dd994927cb82abe7dd818c72ca098e1509d6274f38d7a1

Contents?: true

Size: 295 Bytes

Versions: 161

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

# :nodoc:
class SingleTextFieldForm < ApplicationForm
  form do |my_form|
    my_form.text_field(
      name: :ultimate_answer,
      label: "Ultimate answer",
      required: true,
      caption: "The answer to life, the universe, and everything"
    )
  end
end

Version data entries

161 entries across 161 versions & 3 rubygems

Version Path
openproject-primer_view_components-0.48.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.47.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.47.0 app/forms/single_text_field_form.rb
primer_view_components-0.34.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.46.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.46.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.45.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.44.3 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.44.2 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.44.1 app/forms/single_text_field_form.rb
primer_view_components-0.33.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.44.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.43.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.43.0 app/forms/single_text_field_form.rb
primer_view_components-0.32.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.42.0 app/forms/single_text_field_form.rb
primer_view_components-0.31.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.41.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.41.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.40.0 app/forms/single_text_field_form.rb