Sha256: fa1e0caaa6c934afbd7927234204fc2705c6750ae2b99753b6f4936dfda285af
Contents?: true
Size: 645 Bytes
Versions: 15
Compression:
Stored size: 645 Bytes
Contents
Voom::Presenters.define(:form_level_events) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :events_drawer indented_grid do display 'Posts in Form' body 'This demonstrates that a change event on **ANY** form input will send all the form inputs to the event action. '\ 'This works with posts and replace actions' form do text_field name: :myfield do label 'Data to post' end text_field name: :myfield2 do label 'More Data to post' end event :change do replaces :context_list, :context_list end end attach :context_list end end
Version data entries
15 entries across 15 versions & 1 rubygems