<%@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}/cmbroker<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}/klfaccount">列表</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}/cmbroker/${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}/cmbroker" class="btn gray"><i class="icon-mail-reply"></i>&nbsp;返回</a>
                        </c:when>
                        <c:otherwise>
                            <a href="${ctx}/cmbroker/${entity.id}?action=edit" class="btn blue"><i
                                    class="icon-edit"></i>&nbsp;编辑</a>
                            <a href="${ctx}/cmbroker" 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">经纪人编号:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.brokerId"
											name="entity.brokerId"
											value="${entity.brokerId}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.brokerId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.brokerId}&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.brokerName"
											name="entity.brokerName"
											value="${entity.brokerName}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.brokerName" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.brokerName}&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.brokerPhone"
											name="entity.brokerPhone"
											value="${entity.brokerPhone}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.brokerPhone" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.brokerPhone}&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.brokerCompanyName"
											name="entity.brokerCompanyName"
											value="${entity.brokerCompanyName}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.brokerCompanyName" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.brokerCompanyName}&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.totalCommetAmount"
											name="entity.totalCommetAmount"
											value="${entity.totalCommetAmount}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.totalCommetAmount" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.totalCommetAmount}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">5星星数量:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.fiveStarAmount"
											name="entity.fiveStarAmount"
											value="${entity.fiveStarAmount}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.fiveStarAmount" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.fiveStarAmount}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">4星星数量:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.fourStarAmount"
											name="entity.fourStarAmount"
											value="${entity.fourStarAmount}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.fourStarAmount" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.fourStarAmount}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">3星星数量:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.threeStarAmount"
											name="entity.threeStarAmount"
											value="${entity.threeStarAmount}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.threeStarAmount" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.threeStarAmount}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">2星星数量:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.twoStarAmount"
											name="entity.twoStarAmount"
											value="${entity.twoStarAmount}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.twoStarAmount" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.twoStarAmount}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">1星星数量:</label>
                            <div class="controls">
                            	<c:choose>
                                    <c:when test="${action=='create' || action=='edit'}">
										<input type="text" id="entity.oneStarAmount"
											name="entity.oneStarAmount"
											value="${entity.oneStarAmount}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.oneStarAmount" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.oneStarAmount}&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.earliestCommentTimeStr"
											name="entity.earliestCommentTimeStr"
											value="<fmt:formatDate value='${entity.earliestCommentTime}' pattern='yyyy-MM-dd HH:mm:ss' />" />
										<font color="red"><form:errors path="cmBrokerVo.entity.earliestCommentTime" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.earliestCommentTime}&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.labels"
											name="entity.labels"
											value="${entity.labels}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.labels" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.labels}&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.cityId"
											name="entity.cityId"
											value="${entity.cityId}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.cityId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.cityId}&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.cityName"
											name="entity.cityName"
											value="${entity.cityName}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.cityName" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.cityName}&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.isDeleted"
											name="entity.isDeleted"
											value="${entity.isDeleted}" />
										<font color="red"><form:errors path="cmBrokerVo.entity.isDeleted" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.isDeleted}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
				</div>
			</div>               
        </div>
    </div>   

</form>
</body>

</html>