MotionInMotion Episode 9 - ProMotion + Formotion
ProMotion + Formotion - MotionInMotion
Formotionでフォームの実装
gem 'formotion'
- class AddZaggleForm < PM::FormotionScreen
- def table_data
- sections - rows - title, key, placeholder, type, value
- def table_data
- set_nav_bar_button :right, system_item: :add, action: :open_add_zaggle_form
- set_nav_bar_button :left, title: "Cancel", action: :close_screen
- def close_screen ; close ; end
- action: :close にしても動く
- def close_screen ; close ; end