You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.4 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <?=form_open(NULL, array("class"=>"form-flex")) ?>
  2. <input type="hidden" name="faq_idx" value="<?=element('faq_idx', $view)?>">
  3. <input type="hidden" name="fac_idx" value="<?=element('fac_idx', $faq_group)?>">
  4. <?=validation_errors('<p class="alert alert-danger">') ?>
  5. <div data-ax-tbl>
  6. <div data-ax-tr>
  7. <div data-ax-td class="width-100">
  8. <div data-ax-td-label>그룹 이름</div>
  9. <div data-ax-td-wrap>
  10. <p class="form-control-static"><?=$faq_group['fac_title']?></p>
  11. </div>
  12. </div>
  13. </div>
  14. <div data-ax-tr>
  15. <div data-ax-td class="width-100">
  16. <div data-ax-td-label>FAQ 이름</div>
  17. <div data-ax-td-wrap>
  18. <input type="text" class="form-control" name="faq_title" value="<?=element('faq_title', $view) ?>" required maxlength="50" autofocus>
  19. </div>
  20. </div>
  21. </div>
  22. <div data-ax-tr>
  23. <div data-ax-td class="width-100">
  24. <div data-ax-td-label>FAQ 내용</div>
  25. <div data-ax-td-wrap>
  26. <?=get_editor('faq_content', element('faq_content', $view), 'form-control', true, 'ckeditor')?>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="text-center MT10">
  32. <button class="btn btn-primary"><i class="fal fa-check-circle"></i> 확인</button>
  33. <button type="button" class="btn btn-default" onclick="parent.APP.MODAL.close();">닫기</button>
  34. </div>
  35. <?=form_close()?>