New post
<%= link_to '« Cancel and go back', posts_path %>
<% form_for(@post) do |f| %> <%= f.error_messages %> <%= render :partial => "form", :locals => { :f => f } -%> <%= f.submit "Create" %>
<% end %>