提交 339ce7fe 编写于 作者: R Rafael Mendonça França

Merge pull request #13590 from kuldeepaggarwal/fix-date-helper-doc

provide correct example of `datetime_select` helper [ci skip]
......@@ -1066,7 +1066,7 @@ def time_select(method, options = {}, html_options = {})
# Wraps ActionView::Helpers::DateHelper#datetime_select for form builders:
#
# <%= form_for @person do |f| %>
# <%= f.time_select :last_request_at %>
# <%= f.datetime_select :last_request_at %>
# <%= f.submit %>
# <% end %>
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册