updategold.html 1.2 KB

123456789101112131415161718192021222324
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="id" value="{$row.id}">
  3. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-user_id" disabled data-rule="required" data-source="user/user/index" data-field="username" class="form-control selectpage" name="user_id" type="text" value="{$row.user_id|htmlentities}">
  7. </div>
  8. </div>
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">增加金币数量:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input id="c-gold" data-rule="required" class="form-control" name="gold" type="number" value="">
  13. </div>
  14. </div>
  15. <div class="form-group layer-footer">
  16. <label class="control-label col-xs-12 col-sm-2"></label>
  17. <div class="col-xs-12 col-sm-8">
  18. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  19. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  20. </div>
  21. </div>
  22. </form>