%= form_for @schedule do |f| %>
<%= f.hd_label :lunchtime %> | <%= f.time_picker :lunchtime, { hd_opts: {current_text: "Current", close_text: "Set", time_suffix: " o'clock"}, data: { my_data: "true" } } %> |
<%= f.hd_label :suppertime %> | <%= f.time_picker :suppertime, { data: { my_data: "true" }, html: { class: "css_class my_class" }, hd_opts: { minute_grid: "20" } } %> |
<%= f.hd_label :alarm_setting %> | <%= f.time_picker :alarm_setting, { :time_format => "HH:mm:ss", hd_opts: {:hour_grid => "4", :minute_grid => "10", :second_grid => ""} }, :w_seconds %> |
<%= f.hd_label :birthday %> | <%= f.date_picker :birthday, { hd_opts: {show_button_panel: true} } %> |
<%= f.hd_label :apocalypse %> | <%= f.datetime_picker :apocalypse, { hd_opts: {separator: " @ "} } %> |
<%= f.hd_label :christmas %> | <%= f.date_picker :christmas %> |
<%= f.hd_label :beer_oclock %> | <%= f.time_picker :beer_oclock %> |
<%= f.hd_label :epoch %> | <%= f.datetime_picker :epoch %> |
<%= f.submit %> |