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.

27 lines
1.3 KiB

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 class="form-group">
  6. <label class="control-label">그룹 이름</label>
  7. <div class="controls">
  8. <p class="form-control-static"><?=$faq_group['fac_title']?></p>
  9. </div>
  10. </div>
  11. <div class="form-group">
  12. <label class="control-label">FAQ 이름</label>
  13. <div class="controls">
  14. <input type="text" class="form-control" name="faq_title" value="<?=element('faq_title', $view) ?>" required maxlength="50" autofocus>
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label class="control-label">FAQ 내용</label>
  19. <div class="controls">
  20. <?=get_editor('faq_content', element('faq_content', $view), 'form-control', true, 'ckeditor')?>
  21. </div>
  22. </div>
  23. <div class="H10"></div>
  24. <div class="text-center">
  25. <button class="btn btn-primary"><i class="far fa-check-circle"></i> 확인</button>
  26. <button type="button" class="btn btn-default" onclick="parent.APP.MODAL.close();">닫기</button>
  27. </div>
  28. <?=form_close()?>