<%= form_with model: [:admin, @serve], scope: :serve, url: admin_serves_path, local: true do |f| %> <%= render partial: 'form', locals: { f: f } %> <% end %>