36 lines
1.6 KiB
HTML
Executable File
36 lines
1.6 KiB
HTML
Executable File
<div class="layui-card layui-col-md12">
|
|
<div class="layui-card-body">
|
|
{empty name='item'}
|
|
<p class="empty-msg">无效请求,该信息不存在</p>
|
|
{else /}
|
|
<form data-action="{:url('manager.model/edit')}" class="layui-form">
|
|
<input type="hidden" name="__token__" value="{$_token}" />
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">名称</label>
|
|
<div class="layui-input-block">
|
|
<input class="layui-input" type="text" name="name" value="{$item.name}" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">后台管理</label>
|
|
<div class="layui-input-block">
|
|
<input class="layui-input" type="text" name="manager" value="{$item.manager}" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">前端模板</label>
|
|
<div class="layui-input-block">
|
|
<input class="layui-input" type="text" name="template" value="{$item.template}" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-input-block">
|
|
<input type="hidden" class="layui-input" name="id" value="{$item.id}" />
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{/empty}
|
|
</div>
|
|
</div>
|