%= form_for @schedule do |f| %>
<%= f.hd_label :lunchtime %> | <%= f.hd_picker :lunchtime, { hd_opts: {current_text: "Current", close_text: "Set", time_suffix: " o'clock"}, data: { my_data: "true" } } %> |
<%= f.hd_label :suppertime %> | <%= f.hd_picker :suppertime, { data: { my_data: "true" }, html: { class: "css_class my_class" }, hd_opts: { minute_grid: "20" } } %> |
<%= f.hd_label :alarm_setting %> | <%= f.hd_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.hd_picker :birthday, { hd_opts: {show_button_panel: true} } %> |
<%= f.hd_label :apocalypse %> | <%= f.hd_picker :apocalypse, { hd_opts: {separator: " @ "} } %> |
<%= f.hd_label :christmas %> | <%= f.hd_picker :christmas %> |
<%= f.hd_label :beer_oclock %> | <%= f.hd_picker :beer_oclock %> |
<%= f.hd_label :epoch %> | <%= f.hd_picker :epoch %> |
<%= f.hd_label :date_in_time %> | <%= f.hd_picker :date_in_time, {}, :date_only, "datepicker" %> |
<%= f.hd_label :time_of_date %> | <%= f.hd_picker :time_of_date, {}, :time_only, "timepicker" %> |
<%= f.submit %> |