0
0

option.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-content">
  7. <form method="post" action="{:url('option',['id'=>$id])}" class="form-horizontal">
  8. <div class="form-group">
  9. <label class="col-sm-2 control-label">状态<span class="text-danger">*</span></label>
  10. <div class="col-sm-6">
  11. <label class="cr-inline">
  12. <input type="radio" value="1" name="status">同意&nbsp;&nbsp;
  13. </label>
  14. <label class="cr-inline">
  15. <input type="radio" value="2" name="status">拒绝
  16. </label>
  17. </div>
  18. </div>
  19. <div class="form-group">
  20. <label class="col-sm-2 control-label">备注</label>
  21. <div class="col-sm-6">
  22. <input type="text" class="form-control" name="remark" value="{$info.remark||default=''}">
  23. </div>
  24. </div>
  25. <div class="hr-line-dashed"></div>
  26. <div class="form-group">
  27. <div class="col-sm-6 col-sm-offset-2">
  28. <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
  29. <button class="btn cancel-btn btn-default" type="button">取 消</button>
  30. </div>
  31. </div>
  32. </form>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. {/block}
  38. {block name="script"}
  39. <script>
  40. $(document).ready(function(){
  41. formSetValue("status", {$info.status|default=1});
  42. });
  43. </script>
  44. {/block}