edit.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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">{:__('User_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-user_id" disabled data-rule="required" class="form-control" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-email" class="form-control" name="row[email]" type="text" value="{$row.email|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-reason" class="form-control" name="row[reason]" type="text" value="{$row.reason|htmlentities}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Reason_files')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <div class="input-group">
  36. <input id="c-reason_files" class="form-control" size="50" name="row[reason_files]" type="text" value="{$row.reason_files|htmlentities}">
  37. <div class="input-group-addon no-border no-padding">
  38. <span><button type="button" id="faupload-reason_files" class="btn btn-danger faupload" data-input-id="c-reason_files" data-multiple="true" data-preview-id="p-reason_files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  39. <span><button type="button" id="fachoose-reason_files" class="btn btn-primary fachoose" data-input-id="c-reason_files" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  40. </div>
  41. <span class="msg-box n-right" for="c-reason_files"></span>
  42. </div>
  43. <ul class="row list-inline faupload-preview" id="p-reason_files"></ul>
  44. </div>
  45. </div>
  46. <div class="form-group">
  47. <label class="control-label col-xs-12 col-sm-2">{:__('Package_order_id')}:</label>
  48. <div class="col-xs-12 col-sm-8">
  49. <input id="c-package_order_id" disabled data-rule="required" data-source="packageorder/index" data-field="order_no" class="form-control selectpage" name="row[package_order_id]" type="text" value="{$row.package_order_id|htmlentities}">
  50. </div>
  51. </div>
  52. <div class="form-group">
  53. <label class="control-label col-xs-12 col-sm-2">{:__('Sessions')}:</label>
  54. <div class="col-xs-12 col-sm-8">
  55. <input id="c-sessions" class="form-control" name="row[sessions]" type="number" value="{$row.sessions|htmlentities}">
  56. </div>
  57. </div>
  58. <div class="form-group">
  59. <label class="control-label col-xs-12 col-sm-2">{:__('To_name')}:</label>
  60. <div class="col-xs-12 col-sm-8">
  61. <input id="c-to_name" class="form-control" name="row[to_name]" type="text" value="{$row.to_name|htmlentities}">
  62. </div>
  63. </div>
  64. <div class="form-group">
  65. <label class="control-label col-xs-12 col-sm-2">{:__('To_mobile')}:</label>
  66. <div class="col-xs-12 col-sm-8">
  67. <input id="c-to_mobile" class="form-control" name="row[to_mobile]" type="text" value="{$row.to_mobile|htmlentities}">
  68. </div>
  69. </div>
  70. <div class="form-group">
  71. <label class="control-label col-xs-12 col-sm-2">{:__('To_email')}:</label>
  72. <div class="col-xs-12 col-sm-8">
  73. <input id="c-to_email" class="form-control" name="row[to_email]" type="text" value="{$row.to_email|htmlentities}">
  74. </div>
  75. </div>
  76. <div class="form-group">
  77. <label class="control-label col-xs-12 col-sm-2">{:__('To_user_id')}:</label>
  78. <div class="col-xs-12 col-sm-8">
  79. <input id="c-to_user_id" disabled data-rule="required" class="form-control" name="row[to_user_id]" type="text" value="{$row.to_user_id|htmlentities}">
  80. </div>
  81. </div>
  82. <div class="form-group">
  83. <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
  84. <div class="col-xs-12 col-sm-8">
  85. <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
  86. </div>
  87. </div>
  88. <div class="form-group">
  89. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  90. <div class="col-xs-12 col-sm-8">
  91. <div class="radio">
  92. {foreach name="statusList" item="vo"}
  93. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  94. {/foreach}
  95. </div>
  96. </div>
  97. </div>
  98. <div class="form-group">
  99. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  100. <div class="col-xs-12 col-sm-8">
  101. <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="{:$row.audittime?datetime($row.audittime):''}">
  102. </div>
  103. </div>
  104. <div class="form-group">
  105. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  106. <div class="col-xs-12 col-sm-8">
  107. <input id="c-auditremark" class="form-control" name="row[auditremark]" type="text" value="{$row.auditremark|htmlentities}">
  108. </div>
  109. </div>
  110. <div class="form-group layer-footer">
  111. <label class="control-label col-xs-12 col-sm-2"></label>
  112. <div class="col-xs-12 col-sm-8">
  113. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  114. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  115. </div>
  116. </div>
  117. </form>