Locked provisioning template should not be allowed to add audit comment
Description of problem:
GoTo Hosts -> Provisioning Template -> Select/Click a provisioning template (Locked) -> Add audit comment. This is successful. It should not allow to add the audit comment on the locked template.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. GoTo Hosts -> Provisioning Template
2. Select/Click a provisioning template (Locked)
3. Add audit comment
Successfully updated template name
Unable to save
This template is locked. Please clone it to a new template to customize.
This is working as expected in case of report template with a similar feature.
However, a suggestion is to disable the "Audit Comment" textbox if the template is locked.