form.html
1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<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>