Sha256: cec17b56609b764af38b474838331d52c7eb044c8060139eb48f4258db96cde2

Contents?: true

Size: 425 Bytes

Versions: 22

Compression:

Stored size: 425 Bytes

Contents

<div class="content_editor" id="<%= content_dom_id(content) %>">
	<label><%= render_content_name(content) %></label>
	<%= datetime_select(
		content.form_field_name,
		:date,
		:default => content.ingredient || Date.today,
		:start_year => options[:start_year],
		:end_year => options[:end_year],
		:discard_minute => (options[:show_time] ? false : true),
		:discard_hour => (options[:show_time] ? false : true)
	) %>
</div>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
alchemy_cms-2.0.pre3 app/views/essences/_essence_date_editor.html.erb
alchemy_cms-2.0.pre2 app/views/essences/_essence_date_editor.html.erb