Sha256: 19c0ba02aa556c7591185cd93109ce78b274f4fd05fbb6261c54398fd1a7c2b3
Contents?: true
Size: 545 Bytes
Versions: 149
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true # :nodoc: class MultiTextFieldForm < ApplicationForm form do |my_form| my_form.text_field( name: :first_name, label: "First name", required: true, caption: "That which we call a rose by any other name would smell as sweet." ) my_form.separator my_form.text_field( name: :last_name, label: "Last name", required: true, caption: "Bueller. Bueller. Bueller." ) my_form.hidden( name: :csrf_token, value: "abc123" ) end end
Version data entries
149 entries across 149 versions & 3 rubygems