edit.html
2.5 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
44
45
46
47
48
49
50
51
<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
<ul class="nav nav-tabs">
<li class="active"><a href="#A" data-toggle="tab">编辑</a></li>
</ul>
<form class="form-horizontal margin-top-20" action="{:url('DiscountCoupon/edit')}" method="post">
<div class="tabbable" style="float: left">
<div class="tab-content">
<div class="tab-pane active" id="A">
<fieldset>
<div class="control-group">
<label class="control-label">优惠券名称</label>
<div class="controls">
<input class="form-control" type="text" name="discount_coupon_name" value="{$info.discount_coupon_name}">
</div>
</div>
<div class="control-group">
<label class="control-label">满</label>
<div class="controls">
<input class="form-control" type="number" name="overflow" value="{$info.overflow}">
</div>
</div>
<div class="control-group">
<label class="control-label">减</label>
<div class="controls">
<input class="form-control" type="number" name="reduce" value="{$info.reduce}">
</div>
</div>
<div class="control-group">
<label class="control-label">截止日期</label>
<div class="controls">
<input class="form-control js-bootstrap-datetime" type="text" name="deadline" value="{$info.deadline|date='Y-m-d H:i',###}" autocomplete="off">
</div>
</div>
</fieldset>
</div>
</div>
</div>
<div style="clear: both"> </div>
<div class="form-actions" style="clear: both">
<input type="hidden" name="id" value="{$id}">
<button class="btn btn-primary js-ajax-submit"type="submit">编辑</button>
<a class="btn btn-default" href="javascript:history.back(-1);">返回</a>
</div>
</form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>