mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 15:58:38 -05:00
Add survey bits to summary fields on job templates.... change "title" to
"name" on survey metadata.
This commit is contained in:
@@ -233,8 +233,8 @@ class JobTemplate(UnifiedJobTemplate, JobOptions):
|
||||
errors = []
|
||||
if not self.survey_enabled:
|
||||
return errors
|
||||
if 'title' not in self.survey_spec:
|
||||
errors.append("'title' missing from survey spec")
|
||||
if 'name' not in self.survey_spec:
|
||||
errors.append("'name' missing from survey spec")
|
||||
if 'description' not in self.survey_spec:
|
||||
errors.append("'description' missing from survey spec")
|
||||
for survey_element in self.survey_spec["spec"]:
|
||||
|
||||
Reference in New Issue
Block a user