edit.html 621 B

1234567891011121314151617181920
  1. <div id="shortURLForm">
  2. <div id="topmatter">
  3. $MESSAGES$$ERRORS$
  4. </div>
  5. <h1> $pageTitle$ </h1>
  6. <form method="post" action="$SELF$" name="shortURLForm">
  7. <p>Target URL: </p>
  8. <input type="text" name="targetURL" value="$targetURL$"><br/>
  9. <p>Short URL: </p>
  10. <input type="text" name="shortURL" value="$shortURL$" disabled /><br/>
  11. <input type="submit" name="update" value="Update Record" />
  12. <input type="submit" name="cancel" value="Cancel" />
  13. $hiddens$
  14. </form>
  15. </div>
  16. <!-- set the focus to the testimonial field -->
  17. <script language="javascript">
  18. document.shortURLForm.targetURL.focus();
  19. </script>