forked from audrey/intranet
37 lines
1.2 KiB
Twig
37 lines
1.2 KiB
Twig
<!DOCTYPE html>
|
|
<html>
|
|
|
|
{{ include('_header.html.twig') }}
|
|
|
|
<body>
|
|
<!-- Navigation -->
|
|
<div class="siteNavbar">
|
|
<ul class="list-group list-group-horizontal-md">
|
|
{% for item in header.Navbar %}
|
|
<h3 class="navitem"><a class=" list-group-item list-group-item-action text-decoration-none h-100 text-white border-0" href="{{item.url}}">{{item.title}}</a></h3>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<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> |