<%= d.label :published_at %>
<%= d.datetime_select :published_at %>
<%= d.label :template_name %> <%= d.select :template_name, custom_page_templates, {:prompt => 'Select Template'} %>
<%= d.label :title %>
<%= d.text_field :title %>
<%= d.label 'Tags, comma sperated' %>
<%= text_field_tag :tag_list, @draft.tag_list.join(", ") %>
<%= d.label :abstract %>
<%= d.text_area :abstract %>
<%= d.label :body %>
<%= d.text_area :body, :class => 'with_editor' %>
<%= f.submit "Update" %>
<% end %>