file.tx 1.0 KB

12345678910111213141516
  1. <form class="Submissions" action="/post/save" method="POST">
  2. Title *<br /><input required class="cooltext" type="text" name="title" placeholder="Iowa Man Destroys Moon" />
  3. File *<br /><input required class="cooltext" type="file" name="file" />
  4. <!-- Need to validate file or add an upload link that kicks off WS streaming of the file at some point? TAB -->
  5. <br /> TODO: Add "alternative" links, which scrape the appropriate icon for the alt link from the favicon<br />
  6. Preview Image<br /><input type="file" class="cooltext" name="preview" placeholder="PROMO.JPG"></input>
  7. Visibility<br />
  8. <select class="cooltext" name="visibility">
  9. : for $post_visibilities -> $visibility {
  10. <option value="<: $visibility :>"><: $visibility :></option>
  11. : }
  12. </select>
  13. Comments<br /><textarea class="cooltext" name="comment" placeholder="Potzrebie"></textarea>
  14. <input type="hidden" name="app" value="file" />
  15. <input class="coolbutton" type="submit" value="Publish" text="Publish" />
  16. </form>