diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-04 20:58:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-12-04 20:58:48 +0000 |
commit | 89add05d2d33cde86398e31e82eff5e38b997f33 (patch) | |
tree | ad0bf2379112dade76bf0c8360ec22a08175f0fb /app | |
parent | f4651040b5b1259cce17cd88286a8eda32402f30 (diff) | |
download | redmine-89add05d2d33cde86398e31e82eff5e38b997f33.tar.gz redmine-89add05d2d33cde86398e31e82eff5e38b997f33.zip |
Removed unused helper.
git-svn-id: http://svn.redmine.org/redmine/trunk@13701 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b74300912..b98a517e1 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1006,11 +1006,6 @@ module ApplicationHelper (blank ? [["(auto)", ""]] : []) + languages_options end - def label_tag_for(name, option_tags = nil, options = {}) - label_text = l(("field_"+field.to_s.gsub(/\_id$/, "")).to_sym) + (options.delete(:required) ? @template.content_tag("span", " *", :class => "required"): "") - content_tag("label", label_text) - end - def labelled_form_for(*args, &proc) args << {} unless args.last.is_a?(Hash) options = args.last |