add.html 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li><a href="{:url('Adminterm/index')}">分类管理</a></li>
  7. <li class="active"><a>添加分类</a></li>
  8. </ul>
  9. <form class="form-horizontal js-ajax-form margin-top-20" action="{:url('Adminterm/add_post')}" method="post">
  10. <input type="hidden" name="parentid" value="{$parentid}">
  11. <div class="form-group">
  12. <label for="input-name" class="col-sm-2 control-label"><span class="form-required">*</span>分类名称</label>
  13. <div class="col-md-6 col-sm-10">
  14. <input type="text" name="name" class="form-control">
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <div class="col-sm-offset-2 col-sm-10">
  19. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
  20. <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
  21. </div>
  22. </div>
  23. </form>
  24. </div>
  25. <script src="__STATIC__/js/admin.js"></script>
  26. </body>
  27. </html>