diff options
author | Aaron Parecki <aaron@parecki.com> | 2018-07-20 18:04:48 -0500 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2018-07-20 18:04:48 -0500 |
commit | f860747857830229ecf0d3e309f6d49e131b7e30 (patch) | |
tree | a587d49bf69af3ef4290d42c2fe55e95106827db | |
parent | 926b3f8820148f6f886ae431f0637b3e790718e7 (diff) |
hide reply button unless replies are supported
-rw-r--r-- | views/new-post.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/new-post.php b/views/new-post.php index 69e3a84..b31d2be 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -3,6 +3,8 @@ <form role="form" style="margin-top: 20px;" id="note_form"> + <?php if(supports_post_type($this->user, 'reply')): ?> + <div id="reply"> <div class="reply-section hidden"> <div class="form-group has-feedback"> @@ -36,6 +38,8 @@ </select> </div> + <?php endif ?> + <div class="form-group hidden" id="note-name"> <label for="note_name">Issue Title</label> <input type="text" id="note_name" value="" class="form-control" placeholder=""> |