FEATURE: Show user fields when the user is signing up

This commit is contained in:
Robin Ward
2014-09-26 14:48:34 -04:00
parent 872d8fce58
commit edb34c178a
42 changed files with 476 additions and 141 deletions

View File

@@ -33,6 +33,10 @@ class Site
@groups ||= Group.order(:name).map { |g| {:id => g.id, :name => g.name}}
end
def user_fields
UserField.all
end
def categories
@categories ||= begin
categories = Category