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:
Jared Tabor 2016-02-11 22:10:55 -08:00
parent 44bf4e1ac4
commit 9fa6d74efc
2 changed files with 3 additions and 1 deletions

View File

@ -173,10 +173,11 @@ export default
},
job_tags: {
label: 'Job Tags',
type: 'textarea',
type: 'text',
rows: 1,
addRequired: false,
editRequired: false,
'elementClass': 'Form-textInput',
column: 2,
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>" +

View File

@ -1045,6 +1045,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
html += 'name="' + fld + '" ';
html += "class=\"form-control";
html += (field['class']) ? " " + field['class'] : "";
html += (field['elementClass']) ? " " + field['elementClass'] : "";
html += "\" ";
html += (field.ngChange) ? this.attr(field, 'ngChange') : "";
html += buildId(field, fld, this.form);