add pagination, re-arrange view

This commit is contained in:
differentreality 2013-07-12 10:45:40 +03:00
parent 3ec3944406
commit f53af55a74
4 changed files with 53 additions and 33 deletions

View file

@ -15,4 +15,9 @@ class Registration < ActiveRecord::Base
accepts_nested_attributes_for :person
accepts_nested_attributes_for :supporter_registration
accepts_nested_attributes_for :social_events
end
alias_attribute :with_partner, :attending_with_partner
alias_attribute :social_events, :attending_social_events
alias_attribute :need_access, :handicapped_access_required
alias_attribute :other_needs, :other_special_needs
end