school_edit.html
1.5 KB
<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" 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-default">确定提交</button>
</form>
</div>
</body>
</html>