edit.html 1.3 KB

123456789101112131415161718192021222324252627282930313233
  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>编辑幻灯片</a></li>
  8. </ul>
  9. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('slide/editPost')}">
  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" value="{$result.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">{$result.remark}</textarea>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <div class="col-sm-offset-2 col-sm-10">
  24. <input type="hidden" name="id" value="{$result.id}">
  25. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
  26. <a class="btn btn-default" href="{:url('slide/index')}">{:lang('BACK')}</a>
  27. </div>
  28. </div>
  29. </form>
  30. </div>
  31. <script src="__STATIC__/js/admin.js"></script>
  32. </body>
  33. </html>