<% form_for [:admin, @blog_post] do |f| -%> <%= f.error_messages %>
<%= f.label :title -%> <%= f.text_field :title, :class => 'larger widest' -%>
<%= f.label :body -%> <%= f.text_area :body, :rows => 20, :class => 'wymeditor widest' -%>
<%= f.label :draft -%> <%= f.check_box :draft -%>
<%= render :partial => "/shared/admin/form_actions", :locals => { :f => f, :continue_editing => false, :delete_title => t('admin.blogs.blogs.delete') } %> <% end -%>