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.

26 lines
1.1 KiB

7 years ago
  1. <div class="comment-write">
  2. <h4>댓글 입력</h4>
  3. <?=$comment_form_open?>
  4. <div class="row">
  5. <div class="col-xs col-4">
  6. <div class="form-group">
  7. <input class="form-control" name="cmt_name" placeholder="닉네임" required maxlength="20" value="<?=element('cmt_name',$comment_view, $this->member->info('nickname'))?>">
  8. </div>
  9. </div>
  10. <?php if(!$this->member->is_login()):?>
  11. <div class="col-xs col-4">
  12. <div class="form-group">
  13. <input type="password" class="form-control" name="cmt_password" placeholder="비밀번호" required maxlength="24">
  14. </div>
  15. </div>
  16. <?php endif;?>
  17. </div>
  18. <div class="form-group">
  19. <div class="input-group">
  20. <textarea class="form-control" name="cmt_content" data-textarea="autoresize" required placeholder="댓글 내용 입력"><?=element('cmt_content',$comment_view)?></textarea>
  21. <div class="input-group-append">
  22. <button class="btn btn-pink btn-comment">등록</button>
  23. </div>
  24. </div>
  25. </div>
  26. <?=$comment_form_close?>
  27. </div>