Sha256: 59c43e850a66eb5e7854058f7c64de390d06dc650b2257d061e5b8fe2ec4a03b
Contents?: true
Size: 578 Bytes
Versions: 15
Compression:
Stored size: 578 Bytes
Contents
Voom::Presenters.define(:field_level_events) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :events_drawer indented_grid do display 'Field Level Events' heading 'Text Fields' body 'This demonstrates that a change event will submit the field value to the event action. '\ 'This works with posts and replace actions' text_field name: :myfield do label 'Data to post' event :change do replaces :context_list, :context_list end end attach :context_list end attach :code, file: __FILE__ end
Version data entries
15 entries across 15 versions & 1 rubygems