Skip to content

Instantly share code, notes, and snippets.

@wwalker
Created June 2, 2009 18:12
Show Gist options
  • Save wwalker/122427 to your computer and use it in GitHub Desktop.
Save wwalker/122427 to your computer and use it in GitHub Desktop.
<% form_for @tars_district_registration, :url => { :action => "update" } do |tars_district_registration_form| %>
<% tars_district_registration_form.fields_for :tars_attendees do |attendee_fields| %>
<% if attendee_fields.object.active? %>
First Name: <%= attendee_fields.text_field :first_name %>
Last Name: <%= attendee_fields.text_field :last_name %>
position: <%= attendee_fields.text_field :position %>
email: <%= attendee_fields.text_field :email %>
<% end %>
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment