Removed useless :lang option.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7901 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-23 19:46:19 +00:00
parent c4540c799f
commit 2f1141d765
1 changed files with 0 additions and 5 deletions

View File

@ -20,11 +20,6 @@ require 'action_view/helpers/form_helper'
class TabularFormBuilder < ActionView::Helpers::FormBuilder
include Redmine::I18n
def initialize(object_name, object, template, options, proc)
set_language_if_valid options.delete(:lang)
super
end
(field_helpers - %w(radio_button hidden_field fields_for) + %w(date_select)).each do |selector|
src = <<-END_SRC
def #{selector}(field, options = {})