12345678910111213141516171819202122232425 |
- <form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
- <div class="layui-card-body padding-left-40">
- <label class="layui-form-item relative block">
- <span class="color-green font-w7">访问权限名称</span><span class="color-desc margin-left-5">Permission Name</span>
- <input type="text" name="title" value='{$vo.title|default=""}' required placeholder="请输入访问权限名称" class="layui-input">
- <span class="help-block">权限名称需要保持不重复,在给用户授权时需要根据名称选择!</span>
- </label>
- <label class="layui-form-item relative block">
- <span class="color-green font-w7">访问权限描述</span><span class="color-desc margin-left-5">Permission Remark</span>
- <textarea placeholder="请输入访问权限描述" class="layui-textarea" name="desc">{$vo.desc|default=""}</textarea>
- </label>
- </div>
- <div class="hr-line-dashed"></div>
- {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
- <div class="layui-form-item text-center">
- <button class="layui-btn" type='submit'>保存数据</button>
- <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
- </div>
- </form>
|