34 lines
1.5 KiB
HTML
Executable File
34 lines
1.5 KiB
HTML
Executable File
<div class="layui-card layui-col-md12">
|
|
<div class="layui-card-body">
|
|
<form data-action="{:url('manager.member/add')}" 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">
|
|
<select name="group_id">
|
|
{foreach name="groups" item="group"}
|
|
<option value="{$group.id}">{$group.title}</option>
|
|
{/foreach}
|
|
</select>
|
|
</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="username" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">密码</label>
|
|
<div class="layui-input-block">
|
|
<input class="layui-input" type="password" name="password" />
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-input-block">
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div> |