<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>编辑</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black"> 
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">
  
  <script src="/public/js/jquery-1.11.3.min.js"></script>
  <script src="/public/js/jquery.form-3.36.0.min.js"></script>

  <link rel="stylesheet" href="/plugins/layui/css/layui.css">
  <link rel="stylesheet" href="/public/css/global.css">
  
</head>
<body>

<div class="layui-fluid" style="padding-right: 20px; margin-top: 50px;">
<form class="layui-form" id="detail_form" method="post">
  <div class="layui-form-item">
    <label class="layui-form-label">名称</label>
    <div class="layui-input-block">
      <input type="text" name="title" placeholder="请输入" class="layui-input" value="<?php echo $chapter->name; ?>">
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit id="detail_submit">提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
  <input type="hidden" name="_csrf" value="<?php echo Yii::$app->request->getCsrfToken(); ?>">
  <input type="hidden" name="chapterid" value="<?php echo $chapter->id; ?>">
</form>
</div>

<form id="reload_form" method="post" target="_parent" style="display: none;">
  <input type="hidden" name="treepath" value="<?php echo $treepath; ?>">
</form>

<script src="/public/modules/glspecial/chapter/index.js"></script>

<script src="/plugins/layui/layui.all.js"></script>
</body>
</html>