Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<%= simple_form_for(contact) do |f| %>
... code omitted
<%= f.input :first_name %>
<%= f.input :last_name %>
<%= dynamic_attribute_inputs(f, contact) %>
<%= f.button :submit %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.