<{if $actionForm->hasError()}>
<{/if}>
<{xoops_token form=$actionForm}> <{xoops_input type=hidden name=uid value=$actionForm->get('uid')}> <{if $actionForm->get('uid')}> <{else}> <{/if}> <{foreach item=field from=$fields}> <{/foreach}>
<{$smarty.const._MD_PROFILE_LANG_DATA_EDIT}><{$smarty.const._MD_PROFILE_LANG_ADD_A_NEW_DATA}>
<{$field->getShow('label')}> "> <{if $field->get('type')=="string"}> <{xoops_input type=text name=$field->get('field_name') value=$actionForm->get($field->get('field_name')) size=40 maxlength=255}> <{elseif $field->get('type')=="int"}> <{xoops_input type=text name=$field->get('field_name') value=$actionForm->get($field->get('field_name')) size=15 maxlength=11}> <{elseif $field->get('type')=="text"}> <{xoops_dhtmltarea type=text name=$field->get('field_name') value=$actionForm->get($field->get('field_name'))}> <{elseif $field->get('type')=="date"}> <{xoops_input class=datePicker type=text name=$field->get('field_name') value=$actionForm->get($field->get('field_name')) size=15 maxlength=12}> <{elseif $field->get('type')=="checkbox"}> <{xoops_input type=checkbox name=$field->get('field_name') value=1 default=$actionForm->get($field->get('field_name'))}> <{elseif $field->get('type')=="selectbox"}> <{/if}>