<%= render :partial => 'roroacms/admin/partials/submit_bar', :locals => { post_record: @record } %>
<% if !@record.cover_image.blank? %>
<%= render partial: 'roroacms/admin/partials/cover_image', locals: { image: @record.cover_image } %>
<% else %>
<%= render partial: 'roroacms/admin/partials/cover_image', locals: { image: @record.cover_image } %>
<% end %>
<%= f.file_field :cover_image, :class => "", :id => "cover_image" %>
<%= f.hidden_field :id %>
<%= f.hidden_field :post_type, :value => @post_type %>
<% if @post_type == 'page' %>
<% end %>
<% if !get_template_dropdown(@record.post_template).blank? %>
<% end %>