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:
parent
c4540c799f
commit
2f1141d765
|
@ -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 = {})
|
||||
|
|
Loading…
Reference in New Issue