add.html 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li><a href="{:url('slide/index')}">幻灯片列表</a></li>
  7. <li class="active"><a href="{:url('slide/add')}">添加幻灯片</a></li>
  8. </ul>
  9. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('slide/addPost')}">
  10. <div class="form-group">
  11. <label for="input-name" class="col-sm-2 control-label">名称<span class="form-required">*</span></label>
  12. <div class="col-md-6 col-sm-10">
  13. <input type="text" class="form-control" id="input-name" name="name">
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label for="input-remark" class="col-sm-2 control-label">{:lang('DESCRIPTION')}</label>
  18. <div class="col-md-6 col-sm-10">
  19. <textarea class="form-control" id="input-remark" name="remark"></textarea>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <div class="col-sm-offset-2 col-sm-10">
  24. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
  25. <a class="btn btn-default" href="{:url('slide/index')}">{:lang('BACK')}</a>
  26. </div>
  27. </div>
  28. </form>
  29. </div>
  30. <script src="__STATIC__/js/admin.js"></script>
  31. </body>
  32. </html>