Browse Source

hide reply button unless replies are supported

pull/108/head
Aaron Parecki 6 years ago
parent
commit
f860747857
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 4
      views/new-post.php

4
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="">

Loading…
Cancel
Save