clone_form.html
853 Bytes
<div style="width:500px;height:200px" id="conteiner">
<form id="form_clone" class="form" method="post" enctype="multipart/form-data" onsubmit="return false">
<input type="hidden" name="id" tal:attributes="value row/t_id|" />
<table align="center">
<tr>
<td width="30%" class="info" >Название</td>
<td valign="top"><input type="text" name="t_name" tal:attributes="value row/t_name|" /></td>
</tr>
<tr>
<td class="info">Описание</td>
<td valign="top"><textarea name="t_desc" tal:content="row/t_desc|" /></td>
</tr>
<tr>
<td colspan="2" style="text-align:right">
<input type="button" onclick="table.clone_save()" value="Клонировать" />
<input type="button" onclick="wnd.close()" value="Закрыть" />
</td>
</tr>
</table>
</form>
</div>