<%@ page language="java" contentType="text/html;charset=UTF-8" %> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<%@ page isELIgnored="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>裁判列表</title>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="<%=request.getContextPath() %>/js/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="<%=request.getContextPath() %>/js/bootstrap/css/bootstrap-theme.min.css">
    <script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/js/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="<%=request.getContextPath() %>/js/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid"> 
	<div class="alert alert-success" role="alert" style="text-align: center;">
		<c:if test="${caiPan.id ==null }">
			添加裁判
		</c:if>
		<c:if test="${caiPan.id !=null }">
			修改裁判
		</c:if>
	</div>
		<c:if test="${caiPan.id ==null }">
			<form class="form-horizontal" action="<%=request.getContextPath() %>/ckuCaiPan/addCaiPan.do">
		</c:if>
		<c:if test="${caiPan.id !=null }">
			<form class="form-horizontal" action="<%=request.getContextPath() %>/ckuCaiPan/updateCaiPan.do">
		</c:if>
		<input type="hidden" name="id" value="${caiPan.id }" class="form-control">
		  <div class="form-group">
		    <label class="col-sm-2 control-label">中英文名称:</label>
		    <div class="col-sm-10">
		    	<input type="text" name="ckuTitle" value="${caiPan.ckuTitle }" class="form-control" placeholder="中英文名称">
		    </div>
		  </div>
		  <div class="form-group">
		    <label class="col-sm-2 control-label">性别:</label>
		    <div class="col-sm-10">
		<c:if test="${caiPan.ckuSex eq '男' }">
				<label class="radio-inline">
				  <input type="radio" name="ckuSex" value="男" checked="checked"> 男
				</label>
				<label class="radio-inline">
				  <input type="radio" name="ckuSex" value="女"> 女
				</label>
		</c:if>
		<c:if test="${caiPan.ckuSex eq '女' }">
				<label class="radio-inline">
				  <input type="radio" name="ckuSex" value="男"> 男
				</label>
				<label class="radio-inline">
				  <input type="radio" name="ckuSex" value="女" checked="checked"> 女
				</label>
		</c:if>

		    </div>
		  </div>
		  <div class="form-group">
		    <label class="col-sm-2 control-label">国家:</label>
		    <div class="col-sm-10">
		    	<input type="text" name="ckuCountry" value="${caiPan.ckuCountry }" class="form-control" placeholder="国家">
		    </div>
		  </div>
		  <div class="form-group">
		    <label class="col-sm-2 control-label">类别:</label>
		    <div class="col-sm-10">
		    	<input type="text" name="ckuPosition" value="${caiPan.ckuPosition }" class="form-control" placeholder="类别">
		    </div>
		  </div>
		  <div class="form-group">
		    <label class="col-sm-2 control-label">简介:</label>
		    <div class="col-sm-10">
		    	<input type="text" name="ckuContent" value="${caiPan.ckuContent }" class="form-control" placeholder="类别">
		    </div>
		  </div>
		  <div class="form-group" style="text-align: center;">
			<button type="submit" class="btn btn-default">提交</button>
		  	<button type="reset" class="btn btn-default">重置</button>
		  	<a type="reset" class="btn btn-default">返回</a>
		  </div>
	</form>
</div>
</body>
</html>
