Sha256: 248db02e20ef88cfbcb1bc4f6eca0c03ee0b64a5c4ef41ca56d96c5a23120ef0
Contents?: true
Size: 453 Bytes
Versions: 10
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true # :nodoc: class SubmitButtonForm < ApplicationForm form do |my_form| my_form.fields_for(:name_form) do |builder| MultiTextFieldForm.new(builder) end my_form.text_field( name: :green, label: "I'm green", color: :success ) my_form.submit(name: :submit, label: "Submit", scheme: :primary, mr: 3) do |c| c.with_leading_visual_icon(icon: :"check-circle") end end end
Version data entries
10 entries across 10 versions & 1 rubygems