% form_action ||= "/projects/#{project.id}" %> <% form_id ||= 'projectForm' %> <% form_method = project.new_record? ? 'post' : 'patch' %>