intranet/templates/complaint.html.twig

28 lines
1.0 KiB
Twig

<!DOCTYPE html>
<html>
<body>
<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>