theforeman/foreman — pull request #959 by lzap (2013-10-17 11:55:48+00:00)
Title: fixes #3338 - grey out VM form when editing is not supported

I went for JavaScript solution because it allows us a generic solution.
ComputeResources already have supports_update? methods and it is easy to
determine this in one place rather than editing all the fields and all
possible places. This will prevent errors when implementing new CRs.