Browse Source

hide reply button unless replies are supported

pull/108/head
Aaron Parecki 5 years ago
parent
commit
f860747857
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      views/new-post.php

+ 4
- 0
views/new-post.php View File

@ -3,6 +3,8 @@
<form role="form" style="margin-top: 20px;" id="note_form"> <form role="form" style="margin-top: 20px;" id="note_form">
<?php if(supports_post_type($this->user, 'reply')): ?>
<div id="reply"> <div id="reply">
<div class="reply-section hidden"> <div class="reply-section hidden">
<div class="form-group has-feedback"> <div class="form-group has-feedback">
@ -36,6 +38,8 @@
</select> </select>
</div> </div>
<?php endif ?>
<div class="form-group hidden" id="note-name"> <div class="form-group hidden" id="note-name">
<label for="note_name">Issue Title</label> <label for="note_name">Issue Title</label>
<input type="text" id="note_name" value="" class="form-control" placeholder=""> <input type="text" id="note_name" value="" class="form-control" placeholder="">

Loading…
Cancel
Save