contact.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {% set title = "Contato" %}
  2. {% extends 'layout.html' %}
  3. {% block body %}
  4. <div class="container">
  5. <div class="panel">
  6. <div class="panel-heading">
  7. <h3 class="panel-title">Contato</h3>
  8. </div>
  9. <div class="panel-body">
  10. {% if messages.success %}
  11. <div role="alert" class="alert alert-success">
  12. {% for success in messages.success %}
  13. <div>{{ success.msg }}</div>
  14. {% endfor %}
  15. </div>
  16. {% endif %}
  17. {% if messages.error %}
  18. <div role="alert" class="alert alert-danger">
  19. {% for error in messages.error %}
  20. <div>{{ error.msg }}</div>
  21. {% endfor %}
  22. </div>
  23. {% endif %}
  24. <form method="POST" class="form-horizontal">
  25. <div class="form-group">
  26. <label for="name" class="col-sm-2">Sue nome</label>
  27. <div class="col-sm-8">
  28. <input type="text" name="name" id="name" class="form-control" autofocus>
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label for="email" class="col-sm-2">Seu email</label>
  33. <div class="col-sm-8">
  34. <input type="email" name="email" id="email" class="form-control">
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. <label for="message" class="col-sm-2">Sua mensagem</label>
  39. <div class="col-sm-8">
  40. <textarea name="message" id="message" rows="7" class="form-control"></textarea>
  41. </div>
  42. </div>
  43. <div class="form-group">
  44. <div class="col-sm-offset-2 col-sm-8">
  45. <button type="submit" class="btn btn-success">Enviar</button>
  46. </div>
  47. </div>
  48. </form>
  49. </div>
  50. </div>
  51. </div>
  52. {% endblock %}