intranet/templates/complaint.html.twig
2023-07-25 20:48:03 +00:00

32 lines
1.1 KiB
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 {{ complaintReceiverName }}'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.
<br><strong>Note: If you add personally identifying information (such as your name) then this won't be anonymous. Avoid this, unless you want your identity to be known</strong>
</p>
</div>
<div class="container">
{{ form(form) }}
{% if isSubmitted != null %}
{% if isSubmitted %}
<h5 class="alert alert-success"> Email sent successfully </h5>
{% else %}
<h5 class="alert alert-danger"> Form/email failed to submit with errors. Contact IT </h5>
{% endif %}
{% else %}
{% endif %}
</div>
</body>
</html>