audit.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  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">{:__('Status')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <div class="radio">
  7. {foreach name="statusList" item="vo"}
  8. <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>
  9. {/foreach}
  10. </div>
  11. </div>
  12. </div>
  13. <div class="form-group">
  14. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  15. <div class="col-xs-12 col-sm-8">
  16. <input id="c-audittime" class="form-control datetimepicker" disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:$row.audittime?datetime($row.audittime):''}">
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  21. <div class="col-xs-12 col-sm-8">
  22. <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|htmlentities}">
  23. </div>
  24. </div>
  25. <div class="form-group layer-footer">
  26. <label class="control-label col-xs-12 col-sm-2"></label>
  27. <div class="col-xs-12 col-sm-8">
  28. <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
  29. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  30. </div>
  31. </div>
  32. </form>