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
primer_view_components-0.36.5 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.52.2 app/forms/single_text_field_form.rb
primer_view_components-0.36.4 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.52.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.52.0 app/forms/single_text_field_form.rb
primer_view_components-0.36.3 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.51.0 app/forms/single_text_field_form.rb
primer_view_components-0.36.2 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.50.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.50.0 app/forms/single_text_field_form.rb
primer_view_components-0.36.1 app/forms/single_text_field_form.rb
primer_view_components-0.36.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.49.2 app/forms/single_text_field_form.rb
primer_view_components-0.35.2 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.49.1 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.49.0 app/forms/single_text_field_form.rb
primer_view_components-0.35.1 app/forms/single_text_field_form.rb
primer_view_components-0.35.0 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.48.2 app/forms/single_text_field_form.rb
openproject-primer_view_components-0.48.1 app/forms/single_text_field_form.rb