app/views/spud/admin/posts/_form.html.erb in spud_blog-0.9.1 vs app/views/spud/admin/posts/_form.html.erb in spud_blog-0.9.2
- old
+ new
@@ -4,31 +4,31 @@
<%= 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 full-width' %>
+ <%= f.text_area :content,:style => "width:100%;", :class => 'tinymce-blog full-width' %>
</div>
<% if Spud::Blog.config.has_custom_fields %>
<fieldset>
- <legend>Custom Fields</legend>
+ <legend>Custom Fields</legend>
<%= render :partial => '/spud/admin/posts/custom_fields', :locals => {:f => f} %>
</fieldset>
<% end %>
<fieldset class="spud_post_form_fieldset">
<legend>Advanced</legend>
-
+
<div class="spud_post_form_col">
<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' %>
</div>
-
+
<% if @current_user.super_admin %>
<div class="spud_post_form_row">
<%= f.label :spud_user_id, 'Author' %>
<%= f.select :spud_user_id,options_for_select(SpudUser.order(:first_name,:last_name,:login).all.collect{|user| [user.full_name,user.id]},f.object.spud_user_id)%>
</div>
@@ -101,6 +101,6 @@
<%=f.submit "Save Post", :class=>"btn btn-primary form-btn","data-loading-text"=>"Saving..."%> or <%=link_to "cancel",request.referer, :class => "btn"%>
</div>
<script type="text/javascript">
$(document).ready(Spud.Admin.Posts.edit);
-</script>
\ No newline at end of file
+</script>