{layout name="manager/layout" /}
<div class="layuimini-container location-operate-page">
    <div class="layuimini-main">
        <div class="layui-form layuimini-form">
            <div class="layui-form-item">
                <label class="layui-form-label required">文件夹名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" lay-verify="required" value="{$item.name ?? ''}" lay-reqtext="文件夹不能为空" placeholder="请输入文件夹名称" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="hidden" name="path" value="{$path ?? ''}">
                    <button class="layui-btn layui-btn-normal" data-url="/manager/attachment/add-folder" lay-submit lay-filter="saveBtn">确认保存</button>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="__MANAGER__/js/attachment.js?v={:mt_rand()}"></script>