forked from fixin.me/fixin.me
Update and test password recovery forms
This commit is contained in:
@@ -12,6 +12,7 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def label_for(method, options = {})
|
||||
return "" if (options[:label] == false)
|
||||
text = options.delete(:label)
|
||||
text ||= @object.class.human_attribute_name(method).capitalize
|
||||
|
||||
|
||||
Reference in New Issue
Block a user