<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/taglibs.jspf"%>
<script src="${ctx}/static/resource/cms/folderEdit.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="foldId" value="${folder.foldId}">
		<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="${folder.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="sys">
							<option value="1"
								<c:if test="${folder.sys eq 1}"> selected="selected" </c:if>>是</option>
							<option value="2"
								<c:if test="${folder.sys eq 2}"> selected="selected" </c:if>>否</option>
						</select> <span style="color: red;">内置状态不可修改</span>
					</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">
					<select id="open">
						<option value="1"
							<c:if test="${folder.open eq 1}"> selected="selected" </c:if>>是</option>
						<option value="0"
							<c:if test="${folder.open eq 0}"> selected="selected" </c:if>>否</option>
					</select> <span style="color: red;">开放后，对其它非管理用户可见</span>
				</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>