12345678910111213141516171819202122232425262728293031 |
- <?php
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl.'/js/frontend.js')
- ?>
- <form class="layui-form" action="" style="margin-top: 50px" id="tosigin">
- <div class="layui-form-item">
- <label class="layui-form-label">菜单名称</label>
- <div class="layui-input-block" style="width: 200px;">
- <input type="text" name="name" required value="<?= $model['name']?>" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
- </div>
- <p><span>备注:</span><span style="color:red">该菜单名称为父名称,请勿随意添加,添加前请联系管理员</span></p>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">排序</label>
- <div class="layui-input-block" style="width: 200px;">
- <input type="text" name="sort" value="<?= $model['sort']?>" placeholder="请输入标题" autocomplete="off" class="layui-input">
- </div>
- </div>
- <input type="hidden" name="id" value="<?= $model['id'] ?>">
- <div class="layui-form-item">
- <div class="layui-input-block">
- <button class="layui-btn" lay-submit lay-filter="editMenu">立即提交</button>
- <button type="reset" class="layui-btn layui-btn-primary">重置</button>
- </div>
- </div>
- </form>
|