<!--# layout("/common/layout.html",{"jsBase":"/js/cms/cmsBlog/"}){ -->

<form class="layui-form layui-form-pane" id="updateForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label"></label>
				<div class="layui-input-inline">
					<input type="text" id="title" name="title"  value="${cmsBlog.title}"   class="layui-input" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label"></label>
				<div class="layui-input-inline">
					<input type="text" id="content" name="content"  value="${cmsBlog.content}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label"></label>
				<div class="layui-input-inline">
					<input type="text" id="createTime" name="createTime"  value="${cmsBlog.createTime,"yyyy-MM-dd"}"   class="layui-input input-date" >
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label"></label>
				<div class="layui-input-inline">
					<input type="text" id="createUserId" name="createUserId"  value="${cmsBlog.createUserId}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label"></label>
				<div class="layui-input-inline">
					<input type="text" id="type" name="type"  value="${cmsBlog.type}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value=${cmsBlog.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var cmsBlogEdit = layui.edit
    cmsBlogEdit.init();
});
</script>
