batch_edit_cate.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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('batchEditCate')}" class="form-horizontal">
  8. <input type="hidden" name="ids" value="{$ids}">
  9. <div class="form-group">
  10. <label class="col-sm-2 control-label">地点<span class="text-danger">*</span></label>
  11. <div class="col-sm-6">
  12. <span class="form-control">
  13. {$address}
  14. </span>
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label class="col-sm-2 control-label">类型</label>
  19. <div class="col-sm-6">
  20. {:widget_view('common/multiselect',['name'=>'types','lists' => $types, 'val' => isset($info)?$info['types']:[]])}
  21. </div>
  22. </div>
  23. <div class="hr-line-dashed"></div>
  24. <div class="form-group">
  25. <div class="col-sm-6 col-sm-offset-2">
  26. <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
  27. </div>
  28. </div>
  29. </form>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. {/block}
  35. {block name="script"}
  36. <script>
  37. $(document).ready(function(){
  38. formSetValue("enable", {$info.enable|default=1});
  39. });
  40. </script>
  41. {/block}