Sha256: b04efff63088bee87f40232962611444ac950a14b8141b51bc76ae87d7ffc67e
Contents?: true
Size: 309 Bytes
Versions: 10
Compression:
Stored size: 309 Bytes
Contents
module MotionPrime class SubmitFieldSection < BaseFieldSection element :submit, type: :button do {title: options[:title]} end after_render :bind_submit def bind_submit view(:submit).on :touch do form.send(options[:action]) if options[:action] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems