Displaying 1 result from an estimated 1 matches for "address_form".
2011 Mar 10
4
Multi-model forms
...ext-align: right; height: 60px; vertical-align:
bottom;"><%= f.submit %></td>
</tr>
</table>
<% end %>
This is the nested address form (note select_tag is created with a map
of country from the guests controller):
<%= form.fields_for :address do |address_form| %>
<table>
<tr><td><%= address_form.label :address_line1, ''Address:'' %></
td></tr>
<tr>
<td><%= address_form.text_field :address_line1, :class =>
''textfield'' %></td>
<...