Sha256: 780a5520638ef2978565bf8eca93dd51aee9b742ccbd0db1881abf7e8f777f8b
Contents?: true
Size: 513 Bytes
Versions: 3
Compression:
Stored size: 513 Bytes
Contents
module Storefront class Form class Submit < Input resolves :submit, :confirm, :button def initialize(options = {}) super attributes.delete(:name) attributes.delete(:accesskey) end def submit_input if config.rich_input rich_input :submit else simple_input :submit end end alias_method :confirm_input, :submit_input alias_method :button_input, :submit_input end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
storefront-0.3.0 | lib/storefront/form/inputs/submit.rb |
storefront-0.2.8 | lib/storefront/form/inputs/submit.rb |
storefront-0.2.7 | lib/storefront/form/inputs/submit.rb |