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

<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="${blog.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="${blog.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="${blog.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="${blog.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="${blog.type}"   class="layui-input" >
				</div>
            </div>
        </div>
    </div>
	<!-- 业务对象须有hidden字段，保存delFlag和version字段-->
    <input type="hidden" name="id" value=${blog.id} />
    <layui:submitButtons id="updateButton" />
</form>
<!--#} -->
<script>
layui.use(['edit'], function(){
    var blogEdit = layui.edit
    blogEdit.init();
});
</script>
