Blame view

mobile/source/modules/admin/tmpl/control_pages/form.html 1.78 KB
a1684257   Administrator   first commit
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
44
45
46
47
48
49
50
51
52
53
54
  <div style="width:500px;" id="conteiner">
  		<form id="edit_page" name="edit_page" class="form" method="post" enctype="multipart/form-data"  act="save" action="/?p_name=admin_control_pages" >
  		<input type="hidden" name="f_id" value="${page/f_id}"/>
  		<input type="hidden" name="form[lang]" tal:attributes="value lang" />
  		<input type="hidden" name="form[link_id]" tal:attributes="value link_id" />
  		<input type="hidden" name="act" value="save"/>
  		<table align="center">
  			<tr>
  				<td colspan="2" id="error_page" style="text-align:center;color:red;" ></td>
  			</tr>
  			
  
  			<tr tal:condition="not:lang_edit">
  				<td width="30%" class="info" >Название</td>
  				<td valign="top"><input type="text" name="form[f_name]"  value="${page/f_name}"/></td>
  			</tr>
  			
  			<tr>
  				<td class="info">Шаблон для вывода</td>
  				<td valign="top">
  					<select style="width:200px;"  name="form[t_id]" tal:content="structure page/tmpl_list" />
  				</td>
  			</tr>
  			<tr>
  				<td class="info">Права доступа</td>
  				<td valign="top">
  					<select Multiple="true" size="3" name="groups[]" tal:content="structure page/group_list" /> 
  				</td>
  			</tr>
  			<tr>
  				<td class="info">Свободный доступ</td>
  				<td valign="top">
  					<input type="checkbox" tal:attributes="checked page/f_access | NULL"  name="form[f_access]"  />
  				</td>
  			</tr>
  			
  			<tr>
  				<td class="info">Включить</td>
  				<td valign="top">
  					<input type="checkbox" tal:attributes="checked page/f_active | NULL"  name="form[f_active]"  />
  				</td>
  			</tr>
  			
  			<tr>
  				<td colspan="2" style="text-align:right">
  					<input type="submit"  value="Сохранить" />
  					<input type="button" onclick="wnd.close()" value="Закрыть" />
  				</td>
  				
  			</tr>
  		</table>
  
  		</form>
  </div>