fix datepicker helper hidden field value

This commit is contained in:
iCross 2013-05-30 16:12:52 +08:00
parent ec173c4ce1
commit 8d71c377f2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module OrbitFormHelper
options[:label] ||= I18n.t('datetime_picker.separated.label')
content_tag :div, :id => options[:id], :class => "separated_picker #{options[:class]}" do
concat label_tag options[:label] unless options[:no_label]
concat hidden_field(object_name, method)
concat hidden_field(object_name, method, :value => options[:value])
concat separated_picker(object_name, method, options)
end
else