Sha256: 8c00ebd5fe194501715a163408234da3f84c25d46526294ff9159b431966f44f
Contents?: true
Size: 494 Bytes
Versions: 163
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true # :nodoc: class InvalidForm < 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.text_field( name: :last_name, label: "Last name", required: true, caption: "Bueller. Bueller. Bueller.", validation_message: "That doesn't look right" ) end end
Version data entries
163 entries across 163 versions & 3 rubygems