<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>KGCMS企业应用管理平台 - Powered by KGCMS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<!-- <meta http-equiv="cache-control" content="no-siteapp" /> -->
<link rel="stylesheet" type="text/css" href="{{kg['tpl_url']}}style/shop_shipping.css">
<script src="{{kg['tpl_url']}}script/jquery.min.js"></script>
<script src="{{kg['tpl_url']}}script/cropper.min.js"></script>
<script src="{{kg['tpl_url']}}script/amazeui.datetimepicker.min.js"></script>
<script src="{{kg['server']['HTTP_HOST']}}/tools/amazeui/js/amazeui.min.js"></script>
<script src="{{kg['tpl_url']}}script/common.js"></script>
<script src="{{kg['tpl_url']}}script/shop_shipping.js"></script>
</head>
<body data-type="generalComponents">
	{% include 'component_header.tpl' %}
	<div class="tpl-page-container tpl-page-header-fixed">
		<div class="scrollbar-wrap">
		{% include 'component_left.tpl' %}
		<div class="tpl-content-wrapper">
			<div class="tpl-content-page-title">
				编辑配送方式
			</div>
			<ol class="am-breadcrumb">
				<li><a href="#" class="am-icon-home">首页</a></li>
				<li><a href="shipping_manage">配送方式管理</a></li>
				<li class="am-active">编辑配送方式</li>
			</ol>
			<div class="tpl-portlet-components">
				<div class="portlet-title">
					<div class="caption font-green bold">
						<span class="am-icon-code"></span>&nbsp;编辑配送方式
					</div>
				</div>
				<div class="tpl-block">
					<div class="am-g">
						<div class="tpl-form-body tpl-form-line">
							<div class="am-tab-panel am-fade am-active am-in" id="tab1" style="">
								<form class="am-form tpl-form-line-form" method="post" action="#" id="ngsh-Ojs-sublime" enctype="multipart/form-data">
									<div class="am-form-group am-form-icon am-form-feedback">
										<label for="title" class="am-u-sm-3 am-form-label">配送方式名称&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Delivery</span>
										</label>
										<div class="am-u-sm-6 am-u-sm-pull-3">
											<input type="text" class="tpl-form-input ngco_Ojs_bitian" id="title" name="title" value="{{data[0]['title']}}">
											<i class=""></i>
										</div>
									</div>
									<div class="am-form-group">
										<label for="freight" class="am-u-sm-3 am-form-label">纯手续费&nbsp;/&nbsp;<span class="tpl-form-line-small-title">ServiceCharge</span>
										</label>
										<div class="am-u-sm-6 am-u-sm-pull-3">
											<input type="text" class="tpl-form-input" id="freight" name="freight" value="{{data[0]['freight']}}">
										</div>
									</div>
									<div class="am-form-group">
										<label for="topay" class="am-u-sm-3 am-form-label">运费到付支持&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Freight</span>
										</label>
										<div class="am-u-sm-6 am-u-sm-pull-3">
											<div class="tpl-switch">
												{%if data[0]['topay'] == 1%}
												<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" name="topay"  id="topay" checked>
												{% else %}
												<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" name="topay"  id="topay" >
												{% endif %}
												<div class="tpl-switch-btn-view">
													<div>
													</div>
												</div>
											</div>
										</div>
									</div>
									<div class="am-form-group">
										<label for="insure" class="am-u-sm-3 am-form-label">保价费比例&nbsp;/&nbsp;<span class="tpl-form-line-small-title">InsuredPrice</span>
										</label>
										<div class="am-u-sm-6 am-u-sm-pull-3">
											<input type="text" class="tpl-form-input" id="insure" name="insure" value="{{data[0]['insure']}}">
										</div>
									</div>
									<div class="am-form-group">
										<label for="description" class="am-u-sm-3 am-form-label">简要描述&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Description</span>
										</label>
										<div class="am-u-sm-6 am-u-sm-pull-3">
											<input type="text" class="tpl-form-input" id="description" name="description" value="{{data[0]['description']}}">
										</div>
									</div>
									<div class="am-form-group">
										<label class="am-u-sm-3 am-form-label">是否启用&nbsp;/&nbsp;<span class="tpl-form-line-small-title">Enable</span>
										</label>
										<div class="am-u-sm-6 am-u-sm-pull-3">
											<div class="tpl-switch">
												{% if data[0]['enable'] == 1%}
												<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" name="enable" checked>
												{% else %}
												<input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" name="enable">
												{% endif %}
												<div class="tpl-switch-btn-view">
													<div>
													</div>
												</div>
											</div>
										</div>
									</div>
									<input type="hidden" name="action" value="submit" />
								</form>
								<div class="am-g">
										<div class="tpl-form-body tpl-form-line">
												<div class="am-form-group">
													<div class="am-u-md-9 am-u-md-push-5 ngco-W50bai-width">
														<button type="submit" class="am-btn am-btn-primary tpl-btn-bg-color-success distances ngsh-Hjs-tijiao">提交</button>
														<span class="place"></span>
														<a href="shipping_update" class="am-btn am-btn-primary tpl-btn-bg-color-success ">重置</a>
													 </div>
												</div>
										 </div>
									</div>
							</div>

						</div>
					</div>
				</div>
			</div>
			{% include 'component_footer.tpl' %}
		</div>
		</div><!-- /.scrollbar-wrap -->
	</div>
</body>
</html>