Corrected function use in layout.
Merge branch 'beta' of https://github.com/Agalin/RailsRegistrationForm into beta