A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

48 lines
1.8 KiB

  1. {% extends "layout.html" %}
  2. {% block title %}Contact Me{% endblock %}
  3. {% block content %}
  4. <h1>Contact Me</h1>
  5. You can use the form below to send me an e-mail.<p>
  6. <form name="contact" action="{{ url_for('contact.send') }}" method="POST">
  7. <input type="hidden" name="token" value="{{ csrf_token() }}">
  8. <table border="0" cellspacing="0" cellpadding="2">
  9. <tr>
  10. <td width="50%" align="left" valign="middle">
  11. <strong>Your name:</strong><br>
  12. <small>(so I know who you are)</small><br>
  13. <input type="text" class="form-control"size="40" name="name">
  14. </td>
  15. <td width="50%" align="left" valign="middle">
  16. <strong>Your email:</strong><br>
  17. <small>(if you want a response)</small><br>
  18. <input type="email" class="form-control" size="40" name="email">
  19. </td>
  20. </tr>
  21. <tr>
  22. <td colspan="2" align="left" valign="middle">
  23. <strong>Message subject:</strong><br>
  24. <small>(optional)</small><br>
  25. <input type="text" class="form-control" size="40" name="subject" style="width: 100%"><p>
  26. <strong>Message:</strong><br>
  27. <small>(required)</small><br>
  28. <textarea class="form-control" cols="40" rows="12" name="message" style="width: 100%"></textarea>
  29. </td>
  30. </tr>
  31. <tr>
  32. <td colspan="2" align="right" valign="middle">
  33. <button type="submit" class="btn btn-primary">Send Message</button>
  34. </td>
  35. </tr>
  36. </table>
  37. <div style="display: none">
  38. If you can see these boxes, don't touch them.<br>
  39. <input type="text" class="form-control" size="40" name="contact" value=""><br>
  40. <input type="text" class="form-control" size="40" name="website" value="http://">
  41. </div>
  42. </form>
  43. {% endblock %}