<%@ 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" %>
<form id="update_modularity_form">
<input type="hidden" name="productOid" value="${modularity.insuranceProduct.oid }" />
<input type="hidden" name="oid" value="${modularity.oid }" />

  <div class="modal-body">
  	<p>
  		<label>所属页</label>
  		<select class="form-control" name="pageView" style="background:url(<c:url value='/resources/versions-2.0/images/public/select-btn.jpg' />) 97% no-repeat  #fafafc;">
			<c:forEach items="${pageSetupList }" var="list">
			<option value="${list.pageView }"<c:if test="${modularity.pageView eq list.pageView }"> selected="selected"</c:if>>${list.pageName }</option>
            </c:forEach>
		</select>
  	</p>
  	<p>
  		<label>模块名称</label>
  		<input type="text" name="name" value="${modularity.name }" class="form-control" placeholder="" />
  	</p>
  	<p class="clearfix">
  		<label>模块类型</label>
  		<select class="form-control" name="specModule" style="background:url(<c:url value='/resources/versions-2.0/images/public/select-btn.jpg' />) 97% no-repeat  #fafafc;">
			<c:forEach items="${specModuleList }" var="list">
			<option value="${list }"<c:if test="${modularity.specModule eq list }"> selected="selected"</c:if>>${list.name }</option>
            </c:forEach>
		</select>
  	</p>
  	<p>
  		<label>排序</label>
  		<input type="text" name="process" value="${modularity.process }" class="form-control" placeholder="" />
  	</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="update_modularity_form()" data-dismiss="modal">确认</button>
	</div>
  </div> 
 </form> 