<%= form_with model: folder, url: project_folder_path(folder ,format: :json), method: :put, data: { remote: true } do |f| %> <% end %>