<%@ 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/cms/boardEdit.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="boardId" value="${board.boardId}"> <input
			type="hidden" id="prop" value="${board.prop}">
		<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="${board.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">
					<select id="sign" class="form-control input-medium">

						<option value="1">通知公告</option>
						<option value="2">文章资讯</option>
						<option value="3">论坛栏目</option>
					</select>
				</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">
					<select id="status" class="form-control input-medium">

						<option value="1"
							<c:if test="${board.status eq 1}"> selected="selected" </c:if>>正常</option>
						<option value="0"
							<c:if test="${board.status eq 0}"> selected="selected" </c:if>>停用</option>
					</select>
				</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="rank" value="${board.rank}">
				</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">
					<select id="nav" class="form-control input-medium">
						<option value="1"
							<c:if test="${board.nav eq 1}"> selected="selected" </c:if>>是</option>
						<option value="0"
							<c:if test="${board.nav eq 0}"> selected="selected" </c:if>>否</option>
					</select>
				</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">
					<select id="spend" class="form-control input-medium">
						<option value="1"
							<c:if test="${board.spend eq 1}"> selected="selected" </c:if>>是</option>
						<option value="0"
							<c:if test="${board.spend eq 0}"> selected="selected" </c:if>>否</option>
					</select>
				</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="path" value="${board.path}">
				</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>