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