<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/common/taglibs.jspf"%>
<script src="${ctx}/static/resource/ebus/paytypeEdit.js"></script>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal">
		<input type="hidden" id="payId" value="${pay.payId}">
		<section class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<label class="col-sm-3 control-label">支付方式</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkRole"
							placeholder="支付宝、微信、银联等" id="name" value="${pay.name}" />
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">使用状态</label>
					<div class="col-sm-9">
						<div class="btn-group m-r">
							<select id="status" class="form-control">
								<option value="1"
									<c:if test="${pay.status eq 1}"> selected="selected" </c:if>>正常</option>
								<option value="0"
									<c:if test="${pay.status eq 0}"> selected="selected" </c:if>>锁定</option>
							</select>
						</div>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">支付标识</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="商户负责人、联系人"
							id="sign" value="${pay.sign}">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">支付图标</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="支付图标"
							id="icon" value="${pay.icon}">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">合作者身份</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="第三方支付合作者身份"
							id="partner" value="${pay.partner}">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">APP ID</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="应用标识编号"
							id="appId" value="${pay.appId}">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">用户私钥</label>
					<div class="col-sm-9">
						<input type="text" class="form-control" placeholder="用户私钥"
							id="ukey" value="${pay.ukey}">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">用户公钥</label>
					<div class="col-sm-9">
						<textarea id="pubKey" class="form-control" placeholder="用户公钥"
							style="width: 98%; height: 80px;">${pay.pubKey}</textarea>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">通知地址</label>
					<div class="col-sm-9">
						<input type="url" class="form-control" placeholder="后台异步通知地址"
							id="notifyUrl" value="${pay.notifyUrl}">
					</div>
				</div>

				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">返回地址</label>
					<div class="col-sm-9">
						<input type="url" class="form-control" placeholder="用户私钥"
							id="returnUrl" value="${pay.returnUrl}">
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<div class="form-group">
					<label class="col-sm-3 control-label">响应地址</label>
					<div class="col-sm-9">
						<input type="url" class="form-control" placeholder="响应地址"
							id="showUrl" value="${pay.showUrl}">
					</div>
				</div>
			</div>
			<footer class="panel-footer text-right bg-light lter">
				<button type="button" class="btn btn-success btn-s-xs"
					id="submitBtn">提交</button>
			</footer>
		</section>
	</form>
</body>
</html>