contact.html 1.7 KB

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