fixes #7336 - editing compute resource should not clear existing attributes from the form

@orrabin, now the submit button is enabled after these lines were removed