{% extends 'base.html.twig' %}
{% block body %}
<main class="mhcc-wrapper mb-4">
<article class="mhcc-sec-page-outer">
<!--// Main title block STARTS-->
<header class="mt-0 mb-4 text-center light-green-bg sec-page-main-header">
<h1 class="text-left sec-page-main-title sec-page-lead-text--light-blue sec-page-main-title--big">{{ "contact-us"|trans|raw }}</h1>
</header>
<!--// Main title block ENDS-->
<!--// Form container STARTS -->
<div class="mhcc-inner-content">
<p class="mb-4 sec-page-lead-text sec-page-lead-text--big sec-page-lead-text--dark-blue">{{ "meaningful-lasting-advances"|trans|raw }}</p>
<p class="mb-4 sec-page-lead-text sec-page-lead-text--big sec-page-lead-text--dark-blue">{{ "contact-us-2"|trans|raw }}</p>
<!--Form starts //-->
<form class="mhcc-contact-us-wrapper" action="{{ path('contact_us') }}" method="POST">
<!--Form card starts //-->
<section class="card card-default shadow-6dp animated fadeIn animation-delay-7 mb-4">
<header class="card-header mhcc-form-header bg-primary ">
<h2 class="no-m pt-4 pb-4 color-white mhcc-form-title mhcc-form-title--left">{{ "contact-us"|trans|raw }}</h2>
</header>
<!--Card inner block starts //-->
<div class="card-block mhcc-card-block-form">
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label for="firstName" class="control-label">* {{ "first-name"|trans|raw }}</label>
<input type="text" name="firstName" id="firstName" value="{{ app.request.get('firstName') }}" class="form-control" required="required" />
</div>
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label for="lastName" class="control-label">* {{ "last-name"|trans|raw }}</label>
<input type="text" name="lastName" id="lastName" value="{{ app.request.get('lastName') }}" class="form-control" required="required" />
</div>
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label for="jobTitle" class="control-label">* {{ "job-title"|trans|raw }}</label>
<input type="text" name="jobTitle" id="jobTitle" value="{{ app.request.get('jobTitle') }}" class="form-control" required="required" />
</div>
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label class="control-label" for="emailContactUs">* {{ "email"|trans|raw }}</label>
<input type="email" id="emailContactUs" name="emailContactUs" class="form-control" required="required" />
</div>
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label for="phoneContactUs" class="control-label">{{ "phone"|trans|raw }}</label>
<input type="text" name="phoneContactUs" id="phoneContactUs" value="{{ app.request.get('phoneContactUs') }}" class="form-control" />
</div>
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label for="subjectContactUs" class="control-label">* {{ "subject"|trans|raw }}</label>
<input type="text" name="subjectContactUs" id="subjectContactUs" value="{{ app.request.get('subjectContactUs') }}" class="form-control" required="required"/>
</div>
<!--Form field starts //-->
<div class="form-group label-floating mhcc-form-group">
<label for="messageContactUs" class="control-label">* {{ "message"|trans|raw }}</label>
<textarea class="form-control psla-form" name="messageContactUs" id="messageContactUs" rows="6" required="required"></textarea>
</div>
<!--Form fields end //-->
<!-- To handle spam messages starts -->
<div class="sr-only">
<div><span id="checkmeCont"></span></div>
<div><span><label for="userid">User ID</label><input type="text" id="userid" name="userid" value="" /><span class="redNote">*</span></span></div>
<div><span><label for="password">Password</label><input type="text" id="password" name="password" value="" /><span class="redNote">*</span></span></div>
<script type="text/javascript">
var newField = document.createElement("input");
var newFieldLabel = document.createElement("label");
var checkmeCont = document.getElementById("checkmeCont");
newField.id = "checkme";
newField.name = "checkme";
newField.value = "online";
checkmeCont.appendChild(newField);
newFieldLabel.htmlFor = "checkme";
newFieldLabel.innerHTML = "Pass";
checkmeCont.appendChild(newFieldLabel);
</script>
</div>
<!-- To handle spam messages starts -->
</div>
<!--Card inner block ENDS //-->
</section>
<!--Form card ENDS //-->
<!--Submit button starts //-->
<div class="mhcc-resources-container-buttons">
<input type="submit" name="submitButton" class="btn btn-raised btn-success mhcc-resources-container-button" value="{{ "submit"|trans|raw }}" />
<div class="ripple-container"></div>
</div>
<!--Submit button ENDS //-->
</form>
<!--Form ENDS //-->
</div>
<!--// Form container ENDS -->
</article>
</main>
{% endblock %}
{% block javascript %}
{{ parent() }}
<script src="{{ asset( 'assets/js/component-snackbar.js' ) }}"></script>
<script>
{% if msg == "sent" %}
Snackbar.show({ showAction: false,
pos: 'top-center',
text: '<h4>{{ "thank-you-contact-us"|trans|raw }}</h4><b>{{ "comments-contact-us"|trans|raw }}', });
{% endif %}
</script>
{% endblock %}