edit.html 2.5 KB
<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">&nbsp;</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>