{strip}>
<{* 回答欄表示用テンプレート *}>
<{if $question.question_type == QUESTIONNAIRE_QUESTION_TYPE_RADIO_VALUE && $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_NORMAL}>
<{foreach from=$question.choices item=choice name="choice"}>
<{if !empty($question.answer|smarty:nodefaults)}>
<{include file="questionnaire_view_answer_check.html" answer=$question.answer}>
<{/if}>
<{/foreach}>
<{elseif $question.question_type == QUESTIONNAIRE_QUESTION_TYPE_RADIO_VALUE && $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_REFERENCE}>
<{foreach from=$question.choices item=choice name="choice"}>
<{/foreach}>
<{elseif $question.question_type == QUESTIONNAIRE_QUESTION_TYPE_RADIO_VALUE && $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_ANSWER}>
<{foreach from=$question.choices item=choice name="choice"}>
<{include file="questionnaire_view_answer_check.html"}>
<{/foreach}>
<{elseif $question.question_type == QUESTIONNAIRE_QUESTION_TYPE_CHECKBOX_VALUE && $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_NORMAL}>
<{foreach from=$question.choices item=choice name="choice"}>
<{if !empty($question.answer|smarty:nodefaults)}>
<{include file="questionnaire_view_answer_check.html" answer=$question.answer}>
<{/if}>
<{/foreach}>
<{elseif $question.question_type == QUESTIONNAIRE_QUESTION_TYPE_CHECKBOX_VALUE && $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_REFERENCE}>
<{foreach from=$question.choices item=choice name="choice"}>
<{/foreach}>
<{elseif $question.question_type == QUESTIONNAIRE_QUESTION_TYPE_CHECKBOX_VALUE && $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_ANSWER}>
<{foreach from=$question.choices item=choice name="choice"}>
<{include file="questionnaire_view_answer_check.html"}>
<{/foreach}>
<{elseif $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_NORMAL}>
<{elseif $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_REFERENCE}>
<{elseif $choiceDisplay == $smarty.const.QUESTIONNAIRE_CHOICE_DISPLAY_ANSWER}>
<{/if}>
<{/strip}>