<{if $viewType eq 'input'}> <{elseif $viewType eq 'detail'}> <{/if}>