30 lines
1.5 KiB
HTML
Executable File
30 lines
1.5 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 class="layui-form" data-action="{:url('manager.group/edit')}">
|
|
<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="title" value="{$item.title}" placeholder="名称" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">状态</label>
|
|
<div class="layui-input-block">
|
|
<input type="radio" class="dxtc-radio middle" {if $item['status']}checked="checked"{/if} name="status" value="1" title="正常" />
|
|
<input type="radio" class="dxtc-radio middle" {if $item['status'] == 0}checked="checked"{/if} name="status" value="0" title="禁用" />
|
|
</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> |