add.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-money" data-rule="required" class="form-control" step="0.01" name="row[money]" type="number" value="0.00">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Intromoney')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-intromoney" data-rule="required" class="form-control" step="0.01" name="row[intromoney]" type="number" value="0.00">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Hexiaomoney')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-hexiaomoney" data-rule="required" class="form-control" step="0.01" name="row[hexiaomoney]" type="number" value="0.00">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Intro_level')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <select id="c-intro_level" data-rule="required" class="form-control selectpicker" name="row[intro_level]">
  30. {foreach name="introLevelList" item="vo"}
  31. <option value="{$key}" {in name="key" value="-1"}selected{/in}>{$vo}</option>
  32. {/foreach}
  33. </select>
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">{:__('Intro_uid')}:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <input id="c-intro_uid" data-rule="required" class="form-control" name="row[intro_uid]" type="number" value="0">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('Last_jiesuan_date')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <input id="c-last_jiesuan_date" data-rule="required" class="form-control" name="row[last_jiesuan_date]" type="number" value="0">
  46. </div>
  47. </div>
  48. <div class="form-group layer-footer">
  49. <label class="control-label col-xs-12 col-sm-2"></label>
  50. <div class="col-xs-12 col-sm-8">
  51. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  52. </div>
  53. </div>
  54. </form>