|
{{new-select
classNames="form-control"
content=allProjectsAndClusters
localizedPrompt=true
optionLabelPath="name"
optionValuePath="value"
prompt="newMultiClusterApp.overrides.scopeOverride.placeholder"
value=answer.scope
}}
|
{{#if (gt allQuestions.length 0)}}
{{new-select
classNames="form-control"
content=allQuestions
localizedPrompt=true
optionLabelPath="label"
optionValuePath="variable"
prompt="newMultiClusterApp.overrides.questionOverride.placeholder"
value=answer.question
}}
{{else}}
{{input
class="form-control input-sm value"
spellcheck="false"
type="text"
value=answer.question
}}
{{/if}}
|
{{#each
selectedTemplateModel.questions as |question index|
}}
{{#if (eq question.variable answer.question)}}
{{input-answer-row
classNames=""
question=question
answer=answer.answer
}}
{{else}}
{{#if (eq index 0)}}
{{t "newMultiClusterApp.overrides.answerOverride.placeholder"}}
{{/if}}
{{/if}}
{{else}}
{{input
class="form-control input-sm value"
spellcheck="false"
type="text"
value=answer.answer
}}
{{/each}}
|
|
{{#each subquestionAnswers as |subAnswer|}}