Merge pull request #2709 from floriank/fix/revert-breaking-application-helper

Revert "remove required_field_name from ApplicationHelper"
pull/2710/head
ulferts 10 years ago
commit 013de7fab6
  1. 4
      app/helpers/application_helper.rb

@ -66,6 +66,10 @@ module ApplicationHelper
end
end
def required_field_name(name = '')
safe_join [name, ' ', content_tag('span', '*', class: 'required')]
end
def li_unless_nil(link)
content_tag(:li, link) if link
end

Loading…
Cancel
Save