= form_for @conference_registration_response do |f| - if @conference_registration_response.errors.any? #error_explanation %h2= "#{pluralize(@conference_registration_response.errors.count, "error")} prohibited this conference_registration_response from being saved:" %ul - @conference_registration_response.errors.full_messages.each do |msg| %li= msg .field = f.label :conference_registration_id = f.number_field :conference_registration_id .field = f.label :registration_form_field_id = f.number_field :registration_form_field_id .field = f.label :data = f.text_area :data .actions = f.submit 'Save'