Update and test password recovery forms

This commit is contained in:
2023-04-19 19:29:12 +02:00
parent 894c21f322
commit 7dabbd3036
7 changed files with 43 additions and 32 deletions

View File

@@ -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