Last active
October 12, 2020 06:36
-
-
Save jcrisp/93cb9fb2285c8734aa5f0e2bd0e9d47b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= form_for(@order, url:order_url, method:'POST') do |order_form| | |
= error_messages_for :order | |
= order_form.text_field :name | |
And more parent form fields... | |
= order_form.fields_for :order_lines, @order.order_lines do |lines_form| | |
= lines_form.text_field :item_number | |
And more child form fields.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment