mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
added required asterick for required questions
This commit is contained in:
parent
9114cb2d89
commit
d8fe8cc7ff
@ -265,8 +265,7 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
|
||||
// id = params.id,
|
||||
question = params.question,
|
||||
index = params.index,
|
||||
// url,
|
||||
// key,
|
||||
required,
|
||||
element, choices, i, checked,
|
||||
max, min, defaultValue,
|
||||
|
||||
@ -280,8 +279,8 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
|
||||
}
|
||||
|
||||
|
||||
|
||||
html = '<div class="col-xs-12"><b>'+question.question_name+'</b></div>\n';
|
||||
required = (question.required) ? "prepend-asterisk" : "";
|
||||
html = '<div class="col-xs-12 '+required+'"><b>'+question.question_name+'</b></div>\n';
|
||||
if(!Empty(question.question_description)){
|
||||
html += '<div class="col-xs-12"><i>'+question.question_description+'</i></div>\n';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user