edit.html 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <form id="edit-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">{:__('Jiance_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-jiance_id" data-rule="required" data-source="jiance/index" class="form-control selectpage" name="row[jiance_id]" type="text" value="{$row.jiance_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Project_id')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-project_id" data-rule="required" data-source="jiance/project/index" class="form-control selectpage" name="row[project_id]" type="text" value="{$row.project_id|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Worker_id')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-worker_id" data-rule="required" data-source="worker/index" class="form-control selectpage" name="row[worker_id]" type="text" value="{$row.worker_id|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Weizhi')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-weizhi" class="form-control" name="row[weizhi]" type="text" value="{$row.weizhi|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-number" class="form-control" name="row[number]" type="number" value="{$row.number|htmlentities}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Hege_status')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <div class="radio">
  36. {foreach name="hegeStatusList" item="vo"}
  37. <label for="row[hege_status]-{$key}"><input id="row[hege_status]-{$key}" name="row[hege_status]" type="radio" value="{$key}" {in name="key" value="$row.hege_status"}checked{/in} /> {$vo}</label>
  38. {/foreach}
  39. </div>
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('Result')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <input id="c-result" class="form-control" name="row[result]" type="text" value="{$row.result|htmlentities}">
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <div class="input-group">
  52. <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
  53. <div class="input-group-addon no-border no-padding">
  54. <span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  55. <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  56. </div>
  57. <span class="msg-box n-right" for="c-images"></span>
  58. </div>
  59. <ul class="row list-inline faupload-preview" id="p-images"></ul>
  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-primary btn-embossed disabled">{:__('OK')}</button>
  66. </div>
  67. </div>
  68. </form>