<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="x"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<head>
</head>
<form class="hg-form" method="post" action="" id="submitForm">
	<x:hidden name="id" />
	<x:hidden name="resourceTypeId"/>
	<div class="hg-form-cols">
		<div class="hg-form-row">
			<c:forEach var="resourceFiledVo" items="${resourceFiledVos}">
				<c:set var="fieldName" value="${resourceFiledVo.resourceFieldName}" />
				<c:set var="fieldTitle" value="${resourceFiledVo.resourceFiledTitle}" />
				<c:set var="fieldValue" value="${resourceFiledVo.resourceFieldValue}" />
				<c:if test="${resourceFiledVo.resourceFieldShow==1}">
					<c:if test="${resourceFiledVo.resourceFieldType=='string' || resourceFiledVo.resourceFieldType=='int' || resourceFiledVo.resourceFieldType=='double'}">
						<x:inputC name="${fieldName}" title="${fieldTitle}" label="${fieldTitle}" value="${fieldValue}" labelCol="2" fieldCol="4" />
					</c:if>
					<c:if test="${resourceFiledVo.resourceFieldType=='date'}">
						<x:inputC name="${fieldName}" title="${fieldTitle}" label="${fieldTitle}" value="${fieldValue}" labelCol="2" fieldCol="4" wrapper="date" />
					</c:if>
					<%--<c:if test="${resourceFiledVo.resourceFieldType=='double'}">
						<x:inputC name="${fieldName}" title="${fieldTitle}" label="${fieldTitle}" labelCol="2" value="${fieldValue}" fieldCol="4" maxlength="32" mask="money" />
					</c:if>--%>
				</c:if>
				<c:if test="${resourceFiledVo.resourceFieldShow==0}">
					<x:hidden name="${fieldName}" value="${fieldValue}"/>
				</c:if>
			</c:forEach>

		</div>
		
	</div>
</form>