app/views/spud/admin/posts/_form.html.erb in spud_blog-0.9.2 vs app/views/spud/admin/posts/_form.html.erb in spud_blog-0.9.3
- old
+ new
@@ -4,11 +4,11 @@
<%= f.label :title, :required=>true,:style =>"display:none;" %>
<%= f.text_field :title, :class => "full-width",:placeholder=>"Enter title here" %>
</fieldset>
<div>
- <%= f.text_area :content,:style => "width:100%;", :class => 'tinymce-blog full-width' %>
+ <%= f.text_area :content,:style => "width:100%;", :class => 'tinymce full-width' %>
</div>
<% if Spud::Blog.config.has_custom_fields %>
<fieldset>
<legend>Custom Fields</legend>
@@ -23,9 +23,12 @@
<h4>Meta Data</h4>
<div class="spud_post_form_row">
<%= f.label :published_at, 'Publish Date' %>
<%= f.text_field :published_at,:value => f.object.published_at.strftime("%Y-%m-%d %H:%M") , :class => 'spud_form_date_picker' %>
+ <span class="time_select">
+ <%= f.time_select :published_at, :ignore_date => true,:ampm => true%>
+ </span>
</div>
<% if @current_user.super_admin %>
<div class="spud_post_form_row">
<%= f.label :spud_user_id, 'Author' %>