<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header">
</head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="userId" name="userId" type="hidden"
								th:value="${user.userId}"/>
                        <div class="form-group">
							<label class="col-sm-3 control-label">用户名：</label>
							<div class="col-sm-8">
								<input id="userName" name="userName" class="form-control"
									type="text" th:value="${user.userName}" readonly>
							</div>
						</div>
                        <div class="form-group">
							<label class="col-sm-3 control-label">用户状态:</label>
							<div class="col-sm-8">
								<label class="radio-inline"> <input
									th:field="*{user.state}" type="radio" name="state" value="1" />
									正常
								</label> <label class="radio-inline"> <input
									th:field="*{user.state}" type="radio" name="state" value="0" />
									禁用
								</label>
							</div>
						</div>
                        <div class="form-group">
							<label class="col-sm-3 control-label">用户角色:</label>
							<div class="col-sm-8">
								<label class="radio-inline"> <input
									th:field="*{user.role}" type="radio" name="role" value="1" />
									管理员
								</label> <label class="radio-inline"> <input
									th:field="*{user.role}" type="radio" name="role" value="0" />
									普通用户
								</label>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="submit" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/user/edit.js">
	</script>
</body>
</html>
