<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ page import="org.springframework.security.core.AuthenticationException" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/tld/fns.tld" prefix="fns" %>
<div class="modal-header bg-1f96ef">
	<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	<h4 class="modal-title">账号详情</h4>
</div>
<form id="aeResellerForm" class="tab-pane fade active in">
	<div class="modal-body">
		<p><!-- -has-success has-feedback -->
			<label>登录名</label>
			<input type="hidden" class="form-control" name="type"  value="1"  >
			<input type="hidden" name="oid"  value="${user.oid}" >
			<input type="text" name="userName"  value="${user.userName}"  class="form-control" >
		</p>
		<p><!-- has-loser has-feedback -->
			<label>状态</label>

			<select class="form-control" name="status">
				<option value="1" <c:if test="${user.status eq '1'}">selected="selected"</c:if>>正常</option>
				<option value="0" <c:if test="${user.status eq '0'}">selected="selected"</c:if>>失效</option>
			</select>
		</p>
		<p>
			<label>姓名</label>
			<input type="text" name="realName"  value="${user.realName}"  class="form-control">

		</p>
		<p>
			<label>角色</label>

			<select  name="roleName" class="form-control">
				<option value="COMMON-ONE-YUNYING" <c:if test="${user.roleName eq 'COMMON-ONE-YUNYING'}">checked="checked"</c:if>>运营</option>

			</select>
		</p>

		<p>
			<label>电子邮箱</label>
			<input type="text" name="email"  value="${user.email}" class="form-control" >
		</p>

		<p>
			<label>修改密码</label>
			<input type="password" name="password"  value=""  class="form-control" placeholder="不填默认为以前的密码">

		</p>
		<p>
			<label>联系方式</label>

			<input type="text" name="telephone"  value="${user.telephone}"  class="form-control">
		</p>

	</div>
	<div class="modal-footer">
		<div class="mofo-sub">
			<button type="button" class="btn pull-left cancel-btn" data-dismiss="modal">取消</button>
			<button type="button" class="btn notarize-btn pull-right" onclick="saveUserModel('aeResellerForm')">修改</button>
		</div>
	</div>
</form>