summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/new-post.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/new-post.php b/views/new-post.php
index 2e523b8..4fbad4b 100644
--- a/views/new-post.php
+++ b/views/new-post.php
@@ -140,7 +140,9 @@
<input type="url" id="note_photo_url" class="form-control" placeholder="Paste image URL">
</div>
- <input type="text" id="note_photo_alt" class="form-control" placeholder="Image alt text">
+ <?php if($this->media_endpoint): ?>
+ <input type="text" id="note_photo_alt" class="form-control" placeholder="Image alt text">
+ <?php endif ?>
</div>
<div class="modal-footer">