<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!-- <script type="text/javascript">
  window.UMEDITOR_HOME_URL = ctx + "/page/umeditor/";
  var URL = window.UEDITOR_HOME_URL;
</script> -->
<form class="layui-form whitebg pb10 pt10" action="" id="data_form">  
	<div class="tab-pane active">     
		<div class="panel-body">
			<div class="wrapper wrapper-content">
				<div class="panel-form animated fadeInRight wp60 fc">
					<div class="layui-form-item dn	has-error" >   
						<label class="layui-form-label">id</label>  
						<div class="layui-input-block">
							<input type="text" name="id" lay-verify="title" id="id" autocomplete="off" readonly="readonly" class="layui-input" value="${questionsAnswers.id }" >
						</div>  
					</div>
					<div class="layui-form-item 	has-error" >   
						<label class="layui-form-label">问题</label>  
						<div class="layui-input-block">
							<input type="text" name="question" id="question" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input" value="${questionsAnswers.question }" >
						</div>  
					</div>
					
					<div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">回答</label>  
                    <div class="layui-input-block">              
                        <textarea readonly="readonly" name="answer"  id="answer" class="layui-textarea">${questionsAnswers.answer }</textarea>
                    </div>
                </div>
					<div class="layui-form-item 	has-error" >   
						<label class="layui-form-label">排序</label>  
						<div class="layui-input-block">
							<input type="text" name="seq"  id="seq" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input" value="${questionsAnswers.seq }" >
						</div>  
					</div>
					
						<div class="form-group">
			                <div class="layui-form-item">          
			                    <label class="layui-form-label">状态</label>
			                    <div class="layui-input-block">
			                    <input type="text" name="status" id="status" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input"
			                     value="<c:if test="${questionsAnswers.status eq '1' }">显示</c:if><c:if test="${questionsAnswers.status eq '0' }">不显示</c:if>"
			                    	 >          
			                    </div>
			                </div>
			            </div>
					
					<%-- <div class="layui-form-item 	has-error" >   
						<label class="layui-form-label">状态</label>  
						<div class="layui-input-block">
							<input type="text" name="status" lay-verify="title" autocomplete="off" readonly="readonly" class="layui-input" value="${questionsAnswers.status }" >
						</div>  
					</div> --%>
	
				</div>
			</div>
		</div>  
	</div>
</form>
<script type="text/javascript">
    //form表单样式
    layui.use(['layer', 'form'], function() {    
        var layer = layui.layer,
            form = layui.form;
        form.render();
    });
   /*  $(function(){
        UM.getEditor('answer');
        
    }) */
</script>

