add.html 5.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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">{:__('Car_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-car_id" data-rule="required" data-source="car/index" data-field="chepaihao" class="form-control selectpage" name="row[car_id]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-realname" class="form-control" name="row[realname]" type="text" value="">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-idcard" class="form-control" name="row[idcard]" type="text" value="">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard_images')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <div class="input-group">
  24. <input id="c-idcard_images" class="form-control" size="50" name="row[idcard_images]" type="text" value="">
  25. <div class="input-group-addon no-border no-padding">
  26. <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,image/webp" data-multiple="true" data-preview-id="p-idcard_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  27. <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>
  28. </div>
  29. <span class="msg-box n-right" for="c-idcard_images"></span>
  30. </div>
  31. <ul class="row list-inline faupload-preview" id="p-idcard_images"></ul>
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  36. <div class="col-xs-12 col-sm-8">
  37. <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="">
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-price" class="form-control" step="0.01" name="row[price]" type="number" value="0.00">
  44. </div>
  45. </div>
  46. <div class="form-group">
  47. <label class="control-label col-xs-12 col-sm-2">{:__('Hetong_num')}:</label>
  48. <div class="col-xs-12 col-sm-8">
  49. <input id="c-hetong_num" class="form-control" name="row[hetong_num]" type="text" value="">
  50. </div>
  51. </div>
  52. <div class="form-group">
  53. <label class="control-label col-xs-12 col-sm-2">{:__('Hetong_images')}:</label>
  54. <div class="col-xs-12 col-sm-8">
  55. <div class="input-group">
  56. <input id="c-hetong_images" class="form-control" size="50" name="row[hetong_images]" type="text" value="">
  57. <div class="input-group-addon no-border no-padding">
  58. <span><button type="button" id="faupload-hetong_images" class="btn btn-danger faupload" data-input-id="c-hetong_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-hetong_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  59. <span><button type="button" id="fachoose-hetong_images" class="btn btn-primary fachoose" data-input-id="c-hetong_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  60. </div>
  61. <span class="msg-box n-right" for="c-hetong_images"></span>
  62. </div>
  63. <ul class="row list-inline faupload-preview" id="p-hetong_images"></ul>
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-starttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[starttime]" type="text" value="{:date('Y-m-d H:i:s')}">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <input id="c-endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{:date('Y-m-d H:i:s')}">
  76. </div>
  77. </div>
  78. <div class="form-group">
  79. <label class="control-label col-xs-12 col-sm-2">{:__('Jiaochetime')}:</label>
  80. <div class="col-xs-12 col-sm-8">
  81. <input id="c-jiaochetime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[jiaochetime]" type="text" value="{:date('Y-m-d H:i:s')}">
  82. </div>
  83. </div>
  84. <div class="form-group layer-footer">
  85. <label class="control-label col-xs-12 col-sm-2"></label>
  86. <div class="col-xs-12 col-sm-8">
  87. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  88. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  89. </div>
  90. </div>
  91. </form>