{$form.title|default=''} {switch name="form.type"} {case value="num"}
{/case} {case value="text"}
{/case} {case value="long_text"}
{/case} {case value="password"}
{/case} {case value="hidden"} {/case} {case value="radio"}
{foreach name="form.options" item="opt" key="opt_k"} {$opt} {/foreach}
{/case} {case value="checkbox"}
{foreach name="form.options" item="opt" key="opt_k"} {$opt} {/foreach}
{/case} {case value="select"}
{/case} {case value="server"}
{/case} {case value="textarea"}
{$form.value}
{/case} {/switch} {present name="form.tip"}
{$form.tip}
{/present}