<%@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}/customercallbacklog<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}/customercallbacklog">列表</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}/customercallbacklog/${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}/customercallbacklog" class="btn gray"><i class="icon-mail-reply"></i>&nbsp;返回</a>
                        </c:when>
                        <c:otherwise>
                            <a href="${ctx}/customercallbacklog/${entity.id}?action=edit" class="btn blue"><i
                                    class="icon-edit"></i>&nbsp;编辑</a>
                            <a href="${ctx}/customercallbacklog" 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.customerId"
											name="entity.customerId"
											value="${entity.customerId}" />
										<font color="red"><form:errors path="customerCallbackLogVo.entity.customerId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.customerId}&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.managerId"
											name="entity.managerId"
											value="${entity.managerId}" />
										<font color="red"><form:errors path="customerCallbackLogVo.entity.managerId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.managerId}&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.managerName"
											name="entity.managerName"
											value="${entity.managerName}" />
										<font color="red"><form:errors path="customerCallbackLogVo.entity.managerName" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.managerName}&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.content"
											name="entity.content"
											value="${entity.content}" />
										<font color="red"><form:errors path="customerCallbackLogVo.entity.content" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.content}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
					<div class="row-fluid">
                        <div class="span6 control-group">
                            <label class="control-label">createTime:</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="customerCallbackLogVo.entity.createTime" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.createTime}&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.result"
											name="entity.result"
											value="${entity.result}" />
										<font color="red"><form:errors path="customerCallbackLogVo.entity.result" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.result}&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.creater"
											name="entity.creater"
											value="${entity.creater}" />
										<font color="red"><form:errors path="customerCallbackLogVo.entity.creater" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.creater}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
                        <div class="span6 control-group">
                            <label class="control-label">projectId:</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="customerCallbackLogVo.entity.projectId" /></font>
                                    </c:when>
                                    <c:otherwise>
                                        <span class="inline">${entity.projectId}&nbsp;</span>
                                    </c:otherwise>
                                </c:choose>
                            
                            </div>
                        </div>
					</div>
				</div>
			</div>               
        </div>
    </div>   

</form>
</body>

</html>
