Use time_zone_select specific helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9744 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -34,6 +34,10 @@ class Redmine::Views::LabelledFormBuilder < ActionView::Helpers::FormBuilder
|
||||
label_for_field(field, options) + super(field, choices, options, html_options.except(:label)).html_safe
|
||||
end
|
||||
|
||||
def time_zone_select(field, priority_zones = nil, options = {}, html_options = {})
|
||||
label_for_field(field, options) + super(field, priority_zones, options, html_options.except(:label)).html_safe
|
||||
end
|
||||
|
||||
# Returns a label tag for the given field
|
||||
def label_for_field(field, options = {})
|
||||
return ''.html_safe if options.delete(:no_label)
|
||||
|
||||
Reference in New Issue
Block a user