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.

28 lines
1.2 KiB

7 years ago
5 years ago
7 years ago
5 years ago
7 years ago
  1. <div class="container">
  2. <?=$form_open?>
  3. <article class="panel panel-default">
  4. <header class="panel-heading">
  5. <h1 class="panel-title"><?=$is_reply?'대댓글 입력':'댓글 수정'?></h1>
  6. </header>
  7. <div class="panel-body">
  8. <textarea class="form-control" name="cmt_content" rows="4" style="resize:vertical"><?=element('cmt_content', $view)?></textarea>
  9. <div class="H10"></div>
  10. <div class="form-inline">
  11. <?php if($is_reply):?>
  12. <div class="pull-left">
  13. <input class="form-control" name="cmt_nickname" placeholder="닉네임" required>
  14. </div>
  15. <?php endif;?>
  16. <?php if(! $this->member->is_login()) :?>
  17. <div class="pull-left">
  18. <input type="password" class="form-control" name="cmt_password" placeholder="비밀번호" required>
  19. </div>
  20. <?php endif;?>
  21. </div>
  22. </div>
  23. <div class="panel-footer text-right">
  24. <button class="btn btn-primary">댓글 수정</button>
  25. </div>
  26. </article>
  27. <?=$form_close?>
  28. </div>