mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
Formatting job template-job tag element
Accomplished by adding the regular text input styling. This field is a 1 line textarea so adding the Form-textInput class gives it all the styling it needs.
This commit is contained in:
@@ -173,10 +173,11 @@ export default
|
|||||||
},
|
},
|
||||||
job_tags: {
|
job_tags: {
|
||||||
label: 'Job Tags',
|
label: 'Job Tags',
|
||||||
type: 'textarea',
|
type: 'text',
|
||||||
rows: 1,
|
rows: 1,
|
||||||
addRequired: false,
|
addRequired: false,
|
||||||
editRequired: false,
|
editRequired: false,
|
||||||
|
'elementClass': 'Form-textInput',
|
||||||
column: 2,
|
column: 2,
|
||||||
awPopOver: "<p>Provide a comma separated list of tags.</p>\n" +
|
awPopOver: "<p>Provide a comma separated list of tags.</p>\n" +
|
||||||
"<p>Tags are useful when you have a large playbook, and you want to run a specific part of a play or task.</p>" +
|
"<p>Tags are useful when you have a large playbook, and you want to run a specific part of a play or task.</p>" +
|
||||||
|
|||||||
@@ -1045,6 +1045,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
|||||||
html += 'name="' + fld + '" ';
|
html += 'name="' + fld + '" ';
|
||||||
html += "class=\"form-control";
|
html += "class=\"form-control";
|
||||||
html += (field['class']) ? " " + field['class'] : "";
|
html += (field['class']) ? " " + field['class'] : "";
|
||||||
|
html += (field['elementClass']) ? " " + field['elementClass'] : "";
|
||||||
html += "\" ";
|
html += "\" ";
|
||||||
html += (field.ngChange) ? this.attr(field, 'ngChange') : "";
|
html += (field.ngChange) ? this.attr(field, 'ngChange') : "";
|
||||||
html += buildId(field, fld, this.form);
|
html += buildId(field, fld, this.form);
|
||||||
|
|||||||
Reference in New Issue
Block a user