Small optimizations for resources form.
Merge pull request #439 from ngodfraind/optimization-resource-manager

Small optimizations for resources form.