%=error_messages_for(f.object)%>
<%= f.text_area :content,:style => "width:100%;", :class => 'tinymce full-width' %>
<% if Spud::Blog.config.has_custom_fields %>
<% end %>
<%= f.hidden_field :is_news %>
<%= f.hidden_field :spud_user_id %>
<%=f.submit "Save Post", :class=>"btn btn-primary form-btn","data-loading-text"=>"Saving..."%> or <%=link_to "cancel",request.referer,:class => "btn"%>