a guest May 16th, 2018 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Supossedly we have an array of symbols that are our dynamic fields called dyamic_fields:
- = form_for :foo do |f|
- - dynamic_fields.each do |dynamic_field|
- = f.label dynamic_field
- = f.text_field dynamic_field
RAW Paste Data