Sha256: 942af1089c354ee545d3fd7334254837bb4be47f1139a8cb7efbe163be575f23

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

module KonoUtils::Object::Cell::Forms # namespace
  # La cella base dei componenti della form contiene sempre la form come model
  class Submit < Base

    def btn_status_class
      'btn-primary'
    end

    def btn_options
      {
        class: btn_status_class,
        :disable_with => t('wait', default: 'Wait...')
      }
    end

    def show
      form.button :submit, btn_options
    end


  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kono_utils_bootstrap_view4-0.1.0.pre.rc.3 app/concepts/kono_utils/object/cell/forms/submit.rb
kono_utils_bootstrap_view4-0.1.0.pre.rc.2 app/concepts/kono_utils/object/cell/forms/submit.rb
kono_utils_bootstrap_view4-0.1.0.pre.rc.1 app/concepts/kono_utils/object/cell/forms/submit.rb