% title "New Blog Post" %>
New Post
<%= form_for @post do |f|%>
<%= f.text_field :title, placeholder: "Title" %>
<%= render partial: "md_editor", locals: {name: "blogpost[content]", content: @post.content} %>
<%= f.submit "Create Post", class: "btn blue left" %>
<% end %>