<%@include file="/WEB-INF/common/layouts/common.jsp" %>
<%@ page language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>${entity.id}</title>
</head>
<body>
<form id="input_form" class="form-horizontal valid"
      action="${ctx}/projectuser<c:if test="${action=='edit'}">/${entity.id}</c:if>"
      method="post">
        
    <!-- 面包屑 begin -->
	<div class="row-fluid">
		<div class="span12">
				<ul class="breadcrumb">
					<li>
						<span class="divider" style="color:#26a0da;font-weight:bold;">/</span>
						<a href="${ctx}/projectuser">列表</a>
					</li>
					<li class="active" >
						<span class="divider" style="color:#26a0da;font-weight:bold;">/</span>
						<c:choose>
                             <c:when test="${action=='create'}">
								<span class="inline">新增</span>
                             </c:when>
                             <c:when test="${action=='edit'}">
								<span class="inline"> ${entity.id} </span>
                             </c:when>
                             <c:otherwise>
                             	<span class="inline"> ${entity.id}</span>
                             </c:otherwise>
                         </c:choose>
					</li>
			</ul>
		</div>
	</div>     
	<!-- 面包屑 end -->      
	<house365:flushMessage/>
	 <div class="row${fluid}">
		<div class="span12">
        	<div class="portlet-header">
                <div class="operation-btn pull-right">
                    <c:choose>
                        <c:when test="${action=='edit'}">
                            <button class="btn blue" type="submit"><i
                                    class="icon-save"></i>&nbsp;保存
                            </button>
                            <a href="${ctx}/projectuser/${entity.id}" class="btn gray"><i
                                    class="icon-mail-reply"></i>&nbsp;取消</a>
                        </c:when>
                        <c:when test="${action=='create'}">
                            <button class="btn blue"><i class="icon-save"></i>&nbsp;保存</button>
                            <a href="${ctx}/projectuser" class="btn gray"><i class="icon-mail-reply"></i>&nbsp;返回</a>
                        </c:when>
                        <c:otherwise>
                            <a href="${ctx}/projectuser/${entity.id}?action=edit" class="btn blue"><i
                                    class="icon-edit"></i>&nbsp;编辑</a>
                            <a href="${ctx}/projectuser" class="btn gray"><i class="icon-mail-reply"></i>&nbsp;返回</a>
                        </c:otherwise>
                    </c:choose>
                </div>
            </div>   
			<div class="form-horizontal house365Page">
				<div class="house365Border">
               		<!-- 片段头 begin -->
					<div class="sectionTitle">
						<c:choose>
                             <c:when test="${action=='create'}">
								<h5>新增</h5>
                             </c:when>
                             <c:when test="${action=='edit'}">
								<h5>编辑</h5>
                             </c:when>
                             <c:otherwise>
                             	<h5>详情</h5>
                             </c:otherwise>
                         </c:choose>
					</div>
                    <input name="entity.id" type="hidden" value="${entity.id}"/>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">项目ID:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.projectId"
											name="entity.projectId"
											value="${entity.projectId}" />
										<font color="red"><form:errors path="projectUserVo.entity.projectId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.projectId}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">项目编号:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.projectCode"
											name="entity.projectCode"
											value="${entity.projectCode}" />
										<font color="red"><form:errors path="projectUserVo.entity.projectCode" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.projectCode}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">项目名称:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.projectName"
											name="entity.projectName"
											value="${entity.projectName}" />
										<font color="red"><form:errors path="projectUserVo.entity.projectName" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.projectName}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">驻场ID:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.userId"
											name="entity.userId"
											value="${entity.userId}" />
										<font color="red"><form:errors path="projectUserVo.entity.userId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.userId}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">驻场名称:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.userName"
											name="entity.userName"
											value="${entity.userName}" />
										<font color="red"><form:errors path="projectUserVo.entity.userName" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.userName}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">创建人用户ID:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.createUserid"
											name="entity.createUserid"
											value="${entity.createUserid}" />
										<font color="red"><form:errors path="projectUserVo.entity.createUserid" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.createUserid}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">创建人用户名:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.createUsername"
											name="entity.createUsername"
											value="${entity.createUsername}" />
										<font color="red"><form:errors path="projectUserVo.entity.createUsername" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.createUsername}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">创建时间:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.createTimeStr"
											name="entity.createTimeStr"
											value="<fmt:formatDate value='${entity.createTime}' pattern='yyyy-MM-dd HH:mm:ss' />" />
										<font color="red"><form:errors path="projectUserVo.entity.createTime" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.createTime}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">创建人电脑IP:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.createIp"
											name="entity.createIp"
											value="${entity.createIp}" />
										<font color="red"><form:errors path="projectUserVo.entity.createIp" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.createIp}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">最后一次修改人用户ID:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.updateUserid"
											name="entity.updateUserid"
											value="${entity.updateUserid}" />
										<font color="red"><form:errors path="projectUserVo.entity.updateUserid" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.updateUserid}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">最后一次修改人用户名:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.updateUsername"
											name="entity.updateUsername"
											value="${entity.updateUsername}" />
										<font color="red"><form:errors path="projectUserVo.entity.updateUsername" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.updateUsername}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">最后一次修改时间:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.updateTimeStr"
											name="entity.updateTimeStr"
											value="<fmt:formatDate value='${entity.updateTime}' pattern='yyyy-MM-dd HH:mm:ss' />" />
										<font color="red"><form:errors path="projectUserVo.entity.updateTime" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.updateTime}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">最后一次修改人电脑IP:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.updateIp"
											name="entity.updateIp"
											value="${entity.updateIp}" />
										<font color="red"><form:errors path="projectUserVo.entity.updateIp" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.updateIp}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
				</div>
			</div>               
        </div>
    </div>   

</form>
</body>

</html>