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