Browse Source

hide alt text field if no media endpoint exists

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

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

Loading…
Cancel
Save