intranet/templates/complaint.html.twig
2023-06-29 20:04:14 +00:00

30 lines
949 B
Twig

<!DOCTYPE html>
<html>
{{ include('_header.html.twig') }}
<body>
{{ include('_navbar.html.twig')}}
<div class="container">
<h2>Anonymous Complaint Page
<h4 class="text-bold">Instructions</h4>
<p>Type your complaint or problem into the message box below and click "Submit".
<br>Messages will be sent directly to Chris Weiser's email account.
<br>Messages will be completely anonymous so complaints cannot be traced to a specific person. <br> Feel free to submit any problem or concern.</p>
</div>
{{ form(form) }}
<div class="container">
{% if isSubmitted != null %}
{% if isSubmitted %}
<h5 class="alert alert-success"> Form submitted successfully </h5>
{% else %}
<h5 class="alert alert-danger"> Form failed to submit with errors </h5>
{% endif %}
{% else %}
Nah this broke //TODO: remove after debugging
{% endif %}
</div>
</body>
</html>