form.html 1.44 KB
<div style="width:710px;height:600px" id="conteiner">
		<form id="form_page" 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 class="info">Шаблон для вывода</td>
				<td valign="top">
					<select  name="t_url" tal:content="structure row/tmpl_ul|" />
				</td>
			</tr>
			<tr>
				<td class="info">Переменная для вывода контента</td>
				<td valign="top"><input type="text" name="t_page_content_var" tal:attributes="value row/t_page_content_var|" /></td>
			</tr>


			<tr>
				<td class="info">Контент (Если не выбран шаблон)</td>
				<td valign="top"><textarea style="width:600px;height:350px;" name="t_content"  id="t_content" tal:content="row/t_content|"  /></td>
			</tr>
			
			<tr>
				<td colspan="2" style="text-align:right">
					<input type="button" onclick="table.save_page()" value="Сохранить" />
					<input type="button" onclick="wnd.close()" value="Закрыть" />
				</td>
				
			</tr>
		</table>

		</form>
</div>