Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% f.fields_for :sites do |s| %>
- <tr>
- <th><label for="project_name">Website</label></th>
- <td>
- <% where site.new_record? is true %>
- <%= form.fields_for("site_attributes][new_#{site.object_id}]", site) do |s| %>
- <%= s.text_field :domain, :size => 30, :class => "big" %>
- <% end %>
- <br /><span class="quiet">Add another</span></td>
- </tr>
- <tr>
- <% end %>
Add Comment
Please, Sign In to add comment