Browse Source
hide alt text field if no media endpoint exists
pull/82/head
Aaron Parecki
8 years ago
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
3 additions and
1 deletions
-
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"> |
|
|
|