<%= form_for(widget, {action: adminWidgetsPath(), method: "POST"}) { %> <%= partial("admin/widgets/form.html") %> Cancel <% } %>