Created
October 2, 2009 23:04
-
-
Save overture8/200221 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 setup_company(@company) do |f| %> | |
<%= f.label :name %><br /> | |
<%= f.text_field :name %><br /> | |
<% f.fields_for :addresses do |address_form| %> | |
<%= f.label :street %><br /> | |
<%= address_form.text_field :street %><br /> | |
<%= f.label :city %><br /> | |
<%= address_form.text_field :city %><br /> | |
<%= f.label :post_code %><br /> | |
<%= address_form.text_field :post_code %><br /> | |
<%= f.label :region %><br /> | |
<%= address_form.text_field :region %><br /> | |
<% end %> | |
<%= f.submit %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment