fixed styles on referral create page, also fixed undefined variable problem in views