audit.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="id" value="{$row.id}">
  3. <!--<div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-user_id" data-rule="required" data-source="user/user/index" disabled data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  7. </div>
  8. </div>-->
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">{:__('Truename')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input class="form-control" id="c-truename" name="row[truename]" type="text" value="{$row.truename|htmlentities}">
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <input class="form-control" id="c-idcard" name="row[idcard]" type="text" value="{$row.idcard|htmlentities}">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. <div class="radio">
  25. {foreach name="statusList" item="vo"}
  26. {if $key != 0}
  27. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="status" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  28. {/if}
  29. {/foreach}
  30. </div>
  31. </div>
  32. </div>
  33. <!--<div class="form-group">
  34. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  35. <div class="col-xs-12 col-sm-8">
  36. <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):''}">
  37. </div>
  38. </div>-->
  39. <div class="form-group">
  40. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  41. <div class="col-xs-12 col-sm-8">
  42. <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|htmlentities}">
  43. </div>
  44. </div>
  45. <div class="form-group layer-footer">
  46. <label class="control-label col-xs-12 col-sm-2"></label>
  47. <div class="col-xs-12 col-sm-8">
  48. {if $row['status'] != 1}
  49. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  50. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  51. {/if}
  52. </div>
  53. </div>
  54. </form>