<{foreach from=$prototype.props key=key item=aProp}> <tr class="prop"> <th><{$aProp.name}>：</th> <td> <{if $aProp.type eq 'select'}> <{input name="goods[p_{$key}]" type="select" nulloption="1" options=$aProp.options value=$aProp.selected }> <{else}> <{input type="text" value=$aProp.selected name="goods[p_{$key}]" maxlength="25"}> <{/if}></td> </tr> <{/foreach}>

<{foreach from=$prototype.params item=param key=group}>
<{$group}>
<{foreach from=$param item=value key=item}>
<{$item}> | <{input type="text" name=$value.name value=$value.selected }>
<{/foreach}> <{/foreach}>

<{input type="select" name="goods[brand_id]" nulloption="1" rows=$brandList valueColumn="brand_id" labelColumn="brand_name" value=$goods.brand_id}>
<{$goods.intro}>