<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<%@ taglib prefix="webpath" uri="/WEB-INF/tlds/path.tld"%>
<%@ taglib prefix="webpage" uri="/WEB-INF/tlds/pageview.tld"%>

<head>


</head>
		

<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		

		<ul class="breadcrumb">
			<li>
				<i class="icon-home home-icon"></i>
				<a href="#">首页</a>
			</li>
			<li class="active">积分管理</li>
			<li class="active">保存</li>
		</ul><!-- .breadcrumb -->

		
	</div>
	<div class="page-content">
		<div class="row">
		
			<div class="col-xs-12">
				
				<form action="#" id="typeForm" name="typeForm" method="post" onsubmit="return false" class="form-horizontal" role="form">
				<input type="hidden" id="id" name="id" value="${type.id}"/>
				<div class="row">
				<div class="col-xs-12">
				<h3 class="header smaller lighter blue">积分类别</h3></div>
				</div>
				
				
				<div class="row">
				<div class="col-xs-5">
				
				
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> <font color="red">*</font> 名称 </label>

						<div class="col-sm-9">
							<input type="text" id="name" name="name" class="col-xs-10 col-sm-10" value="${type.name}"/>
						</div>
					</div>

					

					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-field-2"> 积分</label>

						<div class="col-sm-9">
						
						<input type="text" id="point" name="point" class="col-xs-10 col-sm-10" value="${type.point}"/>
					
						</div>
					</div>

					
					
					<div class="form-group">
						<label class="col-sm-3 control-label no-padding-right" for="form-input-readonly"> 状态 </label>

						<div class="col-sm-9">
							<select name="available" id="available" class="col-xs-10 col-sm-10">  
							    
								<option value="true" <c:if test="${activity.available==true}">selected</c:if>>正常</option>
								<option value="false" <c:if test="${activity.available==false}">selected</c:if>>关闭</option>
								
							</select>  
							
						</div>
					</div>
					
				
					
				
				
				</div>
				</div>
				
				
				
					<div class="col-md-offset-3 col-md-9">
						<button class="btn btn-sm btn-success" type="submit">
							<i class="icon-save bigger-110"></i>
							保存
						</button>

						&nbsp; &nbsp; &nbsp;
						<a class="btn btn-sm btn-success" href="javascript:history.go(-1)">
							<i class="icon-reply bigger-110"></i>
							返回
						</a>
					</div>
				
				
			</form>
			
			
											
											
										
			</div>
			
		</div>
	</div>
	
	
	
	
	
	
</div>
<script src="<webpath:path/>/resources/js/points/points.js" type="text/javascript"></script>