<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
<title>个人信息</title>
<meta name="decorator" content="default" />
  <script type="text/javascript">
  var formData = function () {
	  $("form :radio:checked").each(function(i,dom){
		  return $(this).val();
       
      });
  }
</script>
</head>
<body style="overflow-x:hidden">
	<form:form id="roleForm" modelAttribute="Role" action="${ctx}/sys/user/selectRole" method="post"
		class="form-horizontal form-group">
			<div class="form-group">
         	<label style="width:35%;text-align:center" class="control-label">公司名称：</label>  	
         	<label style="width:35%;text-align:center" class="control-label">岗位名称：</label>  
         	<label style="width:25%;text-align:center" class="control-label">选择：</label> 
       		</div>
			<c:forEach items="${allRoles}" var="item" varStatus="status">
			<div style="margin-left:5px;width:100%" class="form-group">
				<label style="width:35%;text-align:center" class="control-label">
				<input type="text" style="width:100%"  name="company" value="${item.company.name}" onmouseover="this.title=this.value" readonly>
				</label>
				<label  style="width:35%;text-align:center" class="control-label">
				<input type="text" style="width:100%" name="name" value="${item.name}" onmouseover="this.title=this.value" readonly>
				</label>
					<label  style="width:25%" class="pull-right radio-inline"> 
					<input style="width:99%" type="radio" value="${item.id}" name="id" onclick="document.roleForm.remarks='${item.company.id}'"/>
					</label>
			</div>
			</c:forEach>
	</form:form>
</body>

</html>