add.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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">{:__('Truename')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-truename" class="form-control" name="row[truename]" type="text">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Alipay_account')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-alipay_account" class="form-control" name="row[alipay_account]" type="text">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-idcard" class="form-control" name="row[idcard]" type="text">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_images')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <div class="input-group">
  30. <input id="c-idcard_images" class="form-control" size="50" name="row[idcard_images]" type="textarea">
  31. <div class="input-group-addon no-border no-padding">
  32. <span><button type="button" id="faupload-idcard_images" class="btn btn-danger faupload" data-input-id="c-idcard_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-idcard_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  33. <span><button type="button" id="fachoose-idcard_images" class="btn btn-primary fachoose" data-input-id="c-idcard_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  34. </div>
  35. <span class="msg-box n-right" for="c-idcard_images"></span>
  36. </div>
  37. <ul class="row list-inline faupload-preview" id="p-idcard_images"></ul>
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <div class="radio">
  44. {foreach name="statusList" item="vo"}
  45. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
  46. {/foreach}
  47. </div>
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <input id="c-audittime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:date('Y-m-d H:i:s')}">
  54. </div>
  55. </div>
  56. <div class="form-group">
  57. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  58. <div class="col-xs-12 col-sm-8">
  59. <input id="c-auditremark" class="form-control" name="row[auditremark]" type="text">
  60. </div>
  61. </div>
  62. <div class="form-group layer-footer">
  63. <label class="control-label col-xs-12 col-sm-2"></label>
  64. <div class="col-xs-12 col-sm-8">
  65. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  66. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  67. </div>
  68. </div>
  69. </form>