school_edit.html
1.6 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
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li><a href="{:url('School/school_list')}">学校列表</a></li>
<li class="active"><a href="#">学校编辑</a></li>
</ul>
<form class="bs-example bs-example-form js-ajax-form" method="post" action="{:url('School/school_edit_post')}" role="form" style="margin-top: 20px;">
<div class="input-group">
<span class="input-group-addon">学校地区:</span>
<input type="text" class="form-control" name="region" value="{$data.region}" >
</div>
<br>
<div class="input-group">
<span class="input-group-addon">学校名称:</span>
<input type="text" class="form-control" name="school" value="{$data.school}" >
</div>
<br>
<div class="input-group">
<span class="input-group-addon">学校类型:</span>
<input type="text" class="form-control" name="type" value="{$data.type}" >
</div>
<br>
<input type="hidden" name="id" value="{$data.id}">
<div class="input-group">
<span class="input-group-addon">年级:</span>
<input type="text" class="form-control" name="grade_class_str" value="{$grade_class_str}" >
<input type="hidden" name="grade_id_str" value="{$grade_id_str}">
</div>
<br>
<button type="submit" class="btn btn-primary js-ajax-submit">确定提交</button>
</form>
</div>
</body>
<script src="__STATIC__/js/admin.js"></script>
</html>