Sha256: 7f28a62993b4c7147e7e40e0f0785d4f4dc5b0d86c55a01590d1873ec9173026

Contents?: true

Size: 1.46 KB

Versions: 6

Compression:

Stored size: 1.46 KB

Contents

<%= form_for @schedule do |f| %>
<table>
	<!-- <tr>
		<td><%= f.label :name %></td>
		<td><%= f.text_field :name %></td>
	</tr> -->
	<tr>
		<td><%= f.hd_label :lunchtime %></td>
		<td><%= f.time_picker :lunchtime, { hd_opts: {current_text: "Current", close_text: "Set", time_suffix: " o'clock"}, data: { my_data: "true" } } %></td>
	</tr>
	<tr>
		<td><%= f.hd_label :suppertime %></td>
		<td><%= f.time_picker :suppertime, { data: { my_data: "true" }, html: { class: "css_class my_class" }, hd_opts: { minute_grid: "20" } } %></td>
	</tr>
	<tr>
		<td><%= f.hd_label :alarm_setting %></td>
		<td><%= f.time_picker :alarm_setting, { :time_format => "HH:mm:ss", hd_opts: {:hour_grid => "4", :minute_grid => "10", :second_grid => ""} }, :w_seconds %></td>
	</tr>
	<tr>
		<td><%= f.hd_label :birthday %></td>
		<td><%= f.date_picker :birthday, { hd_opts: {show_button_panel: true} } %></td>
	</tr>
	<tr>
		<td><%= f.hd_label :apocalypse %></td>
		<td><%= f.datetime_picker :apocalypse, { hd_opts: {separator: " @ "} } %></td>
	</tr>
	<!-- Not passing in locale formats for these because we don't care about format displayed by the system
	for the tests -->
	<tr>
		<td><%= f.hd_label :christmas %></td>
		<td><%= f.date_picker :christmas %></td>
	</tr>
	<tr>
		<td><%= f.hd_label :beer_oclock %></td>
		<td><%= f.time_picker :beer_oclock %></td>
	</tr>
	<tr>
		<td><%= f.hd_label :epoch %></td>
		<td><%= f.datetime_picker :epoch %></td>
	</tr>
	<tr>
		<td><%= f.submit %></td>
	</tr>
</table>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hot_date_rails-1.3.3 spec/dummy/app/views/schedules/_form_custom.html.erb
hot_date_rails-1.3.2 spec/dummy/app/views/schedules/_form_custom.html.erb
hot_date_rails-1.3.1 spec/dummy/app/views/schedules/_form_custom.html.erb
hot_date_rails-1.3.0 spec/dummy/app/views/schedules/_form_custom.html.erb
hot_date_rails-1.2.0 spec/dummy/app/views/schedules/_form_custom.html.erb
hot_date_rails-1.0.0 spec/dummy/app/views/schedules/_form_custom.html.erb