file.tx 551 B

1234567891011
  1. <form class="Submissions" action="/post/save" method="POST" enctype="multipart/form-data">
  2. Title *<br /><input required class="cooltext" type="text" name="title" placeholder="Iowa Man Destroys Moon" value="<: $post.title :>" />
  3. File *<br /><input <: $post.href ? '' : 'required' :> class="cooltext" type="file" name="file" />
  4. : if ( $post.href ) {
  5. <input type="hidden" name="href" value="<: $post.href :>" />
  6. : }
  7. : include "preview.tx";
  8. : include "acls.tx";
  9. : include "tags.tx";
  10. : include "form_common.tx";
  11. </form>