<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('zj_service/index')}">服务列表</a></li>
        <li class="active"><a>添加服务</a></li>
    </ul>
    <form class="form-horizontal js-ajax-form margin-top-20" role="form" action="{:url('zj_service/addPost')}" method="post">
        <fieldset>
            <div class="tabbable">
                <div class="tab-content">
                    <div class="tab-pane active" id="A">
                        <div class="form-group">
                            <label for="input-ser-name" class="col-sm-2 control-label"><span class="form-required">*</span>服务名称</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-ser-name" name="name" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-ser-ori" class="col-sm-2 control-label"><span class="form-required">*</span>原价</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-ser-ori" name="price_ori" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-ser-new" class="col-sm-2 control-label"><span class="form-required">*</span>现价</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-ser-new" name="price_new" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-ser-ser" class="col-sm-2 control-label"><span class="form-required">*</span>服务分类</label>
                            <div class="col-md-6 col-sm-10">
                                <select class="form-control" name="ser_type" id="input-ser-ser">
                                    <foreach name="ser" item="val">
                                        <option value="{$val.id}">{$val.name}</option>
                                    </foreach>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-ser-describes" class="col-sm-2 control-label"><span class="form-required">*</span>服务简介</label>
                            <div class="col-md-6 col-sm-10">
                                <input type="text" class="form-control" id="input-ser-describes" name="describes" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="input-ser-apply" class="col-sm-2 control-label"><span class="form-required">*</span>适用阶段</label>
                            <div class="col-md-6 col-sm-10">
                                <select class="form-control" name="apply" id="input-ser-apply">
                                    <option value="0">无经验</option>
                                    <option value="1">1-2年经验</option>
                                    <option value="2">3-5年经验</option>
                                    <option value="2">5年以上经验</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><span class="form-required">*</span>服务详情</label>
                            <div class="col-md-6 col-sm-10">
                                <textarea name="content"cols="96" rows="5"></textarea>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>