如何选择时间选项?

时间:2015-04-21 19:47:49

标签: ruby twitter-bootstrap ruby-on-rails-4 simple-form

在ruby中,my_form.html.erb我有:

<%= f.input :doors, collection => :00, :15, :30, :45, prompt => "Select the time" %>

如何允许用户选择一小时和分钟:15分钟间隔?我也在使用simple_form。

0 个答案:

没有答案