Sha256: f63ace3dc4f36e34878769034c0040238db5e9797a2d48934ef8d43b646c4a7d
Contents?: true
Size: 711 Bytes
Versions: 122
Compression:
Stored size: 711 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.group(layout: :horizontal) do |button_group| button_group.submit(name: :submit, label: "Submit", scheme: :primary, mb: 3, disabled: true) do |component| component.with_leading_visual_icon(icon: :"check-circle") end button_group.button(name: :button, label: "Click me", mb: 3) do |component| component.with_leading_visual_icon(icon: :alert) end end end end
Version data entries
122 entries across 122 versions & 2 rubygems