<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('回复评论')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-response-comment">
        <input name="commentId"  type="hidden"  th:value="${comment.id}" />
        <div class="form-group">
            <label class="col-sm-3 control-label">评论人：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" readonly="true" name="userName" th:value="${comment.userName}"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">评论内容：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" readonly="true" name="content" th:value="${comment.content}"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">回复内容：</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" name="responseContent"  th:value="${commentResponse.responseContent}"/>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script type="text/javascript">

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(ctx + "system/public/response/add", $('#form-response-comment').serialize());
        }
    }
</script>
</body>

</html>
