<p class="formstyle {if isset($collapse)}{$collapse}{/if} {if isset($row_no)}row_no{$row_no}{/if}"
    {if isset($hide) && $hide} style="display:none;"{/if}>
    {include file="r/parts/pre_field.tpl"}

    {include file='r/radio-only.tpl' name="`$name`__type"
        list=$woac_types id="id" text="title"
        collapse="formcoll" class="required" default=$woac_type}
    {include file='r/select-only.tpl' name="`$name`__id"
        list=$data id="id" text="name" noempty=TRUE mapclass='woaclass'
        collapse="formcoll" class="required" default=$woac_id
        style=$woac_style}
</p>