diff --git a/awx/ui/static/lib/ansible/form-generator.js b/awx/ui/static/lib/ansible/form-generator.js index 26811278d9..17f0e610ea 100644 --- a/awx/ui/static/lib/ansible/form-generator.js +++ b/awx/ui/static/lib/ansible/form-generator.js @@ -363,7 +363,18 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies']) return x; } - function buildCheckbox(field, fld) { + function buildId(field, fld) { + var html = ''; + if (field.id) { + html += Attr(field,'id') : ""; + } + else { + html += "id=\"" + this.form.name + "_" + fld + "\" "; + } + return html; + } + + function buildCheckbox(field, fld, idx) { var html=''; html += "