summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-03-08 22:31:00 +0100
committerhukl <contact@smyck.org>2009-03-08 22:31:00 +0100
commit00fe407be045a5b6cf8269965c0fd35a44094741 (patch)
treecf1d0599a6a4614e85021286260cac754d750b22 /app/views
parent3d62eef0723e39c8454035dc1e5ed6a214b20e8b (diff)
added date selector for published_at. Also removed the part that reset the published_at attribute to Time.now. Some cleanups
Diffstat (limited to 'app/views')
-rw-r--r--app/views/nodes/edit.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index 929bbf6..d230f5c 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -13,6 +13,11 @@
13 <%= f.error_messages %> 13 <%= f.error_messages %>
14 14
15 <% fields_for @draft do |d| %> 15 <% fields_for @draft do |d| %>
16
17 <p>
18 <%= d.label :published_at %><br />
19 <%= d.datetime_select :published_at %>
20 </p>
16 <p> 21 <p>
17 <%= d.label :template_name %> 22 <%= d.label :template_name %>
18 <%= d.select :template_name, custom_page_templates %> 23 <%= d.select :template_name, custom_page_templates %>