edit.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <include file="public@header" />
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li ><a href="{:url('Chargerules/index')}">充值规则列表</a></li>
  7. <li class="active"><a >{:lang('EDIT')}</a></li>
  8. </ul>
  9. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Chargerules/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="{$data['name']}">
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label for="input-money" class="col-sm-2 control-label"><span class="form-required">*</span>价格</label>
  18. <div class="col-md-6 col-sm-10">
  19. <input type="text" class="form-control" id="input-money" name="money" value="{$data['money']}">
  20. <p class="help-block">价格在0.01-99999999之间</p>
  21. </div>
  22. </div>
  23. <div class="form-group">
  24. <label for="input-coin" class="col-sm-2 control-label"><span class="form-required">*</span>{$name_coin}</label>
  25. <div class="col-md-6 col-sm-10">
  26. <input type="text" class="form-control" id="input-coin" name="coin" value="{$data['coin']}">
  27. <p class="help-block">1-99999999之间</p>
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label for="input-give" class="col-sm-2 control-label"><span class="form-required">*</span>赠送{$name_coin}</label>
  32. <div class="col-md-6 col-sm-10">
  33. <input type="text" class="form-control" id="input-give" name="give" value="{$data['give']}">
  34. <p class="help-block">0-99999999之间</p>
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. <div class="col-sm-offset-2 col-sm-10">
  39. <input type="hidden" name="id" value="{$data.id}" />
  40. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('EDIT')}</button>
  41. <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. <script src="__STATIC__/js/admin.js"></script>
  47. </body>
  48. </html>