1 2
= form_for @blog, url: admin_blog_url(@blog), html: { id: "entry-form" } do |f| = render partial: "form", locals: { f: f }