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.0.121 app/forms/single_text_field_form.rb
yattho_view_components-0.1.1 app/forms/single_text_field_form.rb
yattho_view_components-0.0.1 app/forms/single_text_field_form.rb
primer_view_components-0.0.120 app/forms/single_text_field_form.rb
primer_view_components-0.0.119 app/forms/single_text_field_form.rb
primer_view_components-0.0.118 app/forms/single_text_field_form.rb
primer_view_components-0.0.117 app/forms/single_text_field_form.rb
primer_view_components-0.0.116 app/forms/single_text_field_form.rb
primer_view_components-0.0.115 app/forms/single_text_field_form.rb
primer_view_components-0.0.114 app/forms/single_text_field_form.rb
primer_view_components-0.0.113 app/forms/single_text_field_form.rb
primer_view_components-0.0.112 app/forms/single_text_field_form.rb
primer_view_components-0.0.111 app/forms/single_text_field_form.rb
primer_view_components-0.0.110 app/forms/single_text_field_form.rb
primer_view_components-0.0.109 app/forms/single_text_field_form.rb
primer_view_components-0.0.108 app/forms/single_text_field_form.rb
primer_view_components-0.0.107 app/forms/single_text_field_form.rb
primer_view_components-0.0.106 app/forms/single_text_field_form.rb
primer_view_components-0.0.105 app/forms/single_text_field_form.rb
primer_view_components-0.0.104 app/forms/single_text_field_form.rb