Sha256: 3438ff9230c4489777dfcac899930eebb79579efece9aa26e683e1893297e930
Contents?: true
Size: 522 Bytes
Versions: 3
Compression:
Stored size: 522 Bytes
Contents
class TestFormotionScreen < PM::FormotionScreen attr_accessor :submitted_form title "Formotion Test" def table_data @data ||= { sections: [{ title: "Currency", key: :currency, select_one: true, rows: [{ title: "EUR", key: :eur, value: true, type: :check }, { title: "USD", key: :usd, type: :check }] }] } end def on_submit(form) self.submitted_form = form end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ProMotion-1.1.1 | spec/helpers/table_screen_formotion.rb |
ProMotion-1.1.0 | spec/helpers/table_screen_formotion.rb |
ProMotion-1.1.0.rc1 | spec/helpers/table_screen_formotion.rb |