Add styling to passwords and confirmations

This commit is contained in:
Stella Rouzi 2015-04-22 20:40:21 +03:00
parent 28143a8cce
commit 30831ce718
7 changed files with 72 additions and 25 deletions

View file

@ -1,8 +1,10 @@
module ApplicationHelper
# Set resource_name for devise so that we can call the devise help links (views/devise/shared/_links) from anywhere (eg sign_up form in proposal#new)
def resource_name
:user
end
# Set devise_mapping for devise so that we can call the devise help links (views/devise/shared/_links) from anywhere (eg sign_up form in proposal#new)
def devise_mapping
@devise_mapping ||= Devise.mappings[:user]
end