templates/default/contact-us.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3. <main class="mhcc-wrapper mb-4">
  4. <article class="mhcc-sec-page-outer">
  5. <!--// Main title block STARTS-->
  6.     <header class="mt-0 mb-4 text-center light-green-bg sec-page-main-header">
  7.             <h1 class="text-left sec-page-main-title sec-page-lead-text--light-blue sec-page-main-title--big">{{ "contact-us"|trans|raw }}</h1>
  8.     </header>
  9. <!--// Main title block ENDS-->
  10.     
  11.     <!--// Form container STARTS -->
  12.     <div class="mhcc-inner-content">
  13.         <p class="mb-4 sec-page-lead-text sec-page-lead-text--big sec-page-lead-text--dark-blue">
  14.             {{ "meaningful-lasting-advances"|trans|raw }}
  15.         </p>
  16.         <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>
  17.       <!--Form starts //-->
  18.         <form class="mhcc-contact-us-wrapper" action="{{ path('contact_us') }}" method="POST">
  19.         <!--Form card starts //-->
  20.             <section class="card card-default shadow-6dp animated fadeIn animation-delay-7 mb-4">
  21.                 <header class="card-header mhcc-form-header bg-primary ">
  22.                     <h2 class="no-m pt-4 pb-4 color-white mhcc-form-title mhcc-form-title--left">{{ "contact-us"|trans|raw }}</h2>
  23.                 </header>
  24.                 <!--Card inner block starts //-->
  25.                 <div class="card-block mhcc-card-block-form">
  26.                 <!-- Form field starts //-->
  27.                 <!-- Hidden by A.P., because no Actual topic is here
  28.                     <div class="form-group mhcc-form-group is-empty">
  29.                         <div class="input-group" style="z-index:5;margin-left:-12px;">
  30.                             <span class="input-group-addon"></span>
  31.                             <label for="topicContactUs" class="control-label">* {{ 'topic'|trans|raw }}</label>
  32.                             <div>
  33.                                 <div class="btn-group bootstrap-select form-control">
  34.                                     <button type="button" class="btn dropdown-toggle bs-placeholder btn-default" data-toggle="dropdown" role="button" data-id="topicContactUs" title="{{ "choose"|trans|raw }}">
  35.                                         <span class="filter-option pull-left">{{ "choose"|trans|raw }}</span>&nbsp;
  36.                                         <span class="bs-caret">
  37.                                             <span class="caret"></span>
  38.                                         </span>
  39.                                     </button>
  40.                                     <div class="dropdown-menu open" role="combobox">
  41.                                         <ul class="dropdown-menu inner" role="listbox" aria-expanded="false">
  42.                                             <li data-original-index="0" class="selected">
  43.                                                 <a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="true">
  44.                                                     <span class="text">{{ "choose"|trans|raw }}</span>
  45.                                                     <span class="glyphicon glyphicon-ok check-mark"></span>
  46.                                                 </a>
  47.                                             </li>
  48.                                             <li data-original-index="1">
  49.                                                 <a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="false">
  50.                                                     <span class="text">{{ "topic"|trans|raw }} 1</span>
  51.                                                     <span class="glyphicon glyphicon-ok check-mark"></span>
  52.                                                 </a>
  53.                                             </li>
  54.                                             <li data-original-index="1">
  55.                                                 <a tabindex="0" class="" data-tokens="null" role="option" aria-disabled="false" aria-selected="false">
  56.                                                     <span class="text">{{ "topic"|trans|raw }} 1</span>
  57.                                                     <span class="glyphicon glyphicon-ok check-mark"></span>
  58.                                                 </a>
  59.                                             </li>
  60.                                         </ul>
  61.                                     </div>
  62.                                 </div>
  63.                             </div>
  64.                         </div>
  65.                     </div>
  66.                     -->
  67.                 <!--Form field starts //-->   
  68.                     <div class="form-group label-floating mhcc-form-group is-empty">
  69.                         <label for="firstName" class="control-label">* {{ "first-name"|trans|raw }}</label>
  70.                         <input type="text" name="firstName" id="firstName" value="{{ app.request.get('firstName') }}" class="form-control" required="required" />
  71.                     </div>
  72.                 <!--Form field starts //-->   
  73.                     <div class="form-group label-floating mhcc-form-group is-empty">
  74.                         <label for="lastName" class="control-label">* {{ "last-name"|trans|raw }}</label>
  75.                         <input type="text" name="lastName" id="lastName" value="{{ app.request.get('lastName') }}" class="form-control" required="required" />
  76.                     </div>
  77.                 <!--Form field starts //-->   
  78.                     <div class="form-group label-floating mhcc-form-group is-empty">
  79.                         <label for="jobTitle" class="control-label">* {{ "job-title"|trans|raw }}</label>
  80.                         <input type="text" name="jobTitle" id="jobTitle" value="{{ app.request.get('jobTitle') }}" class="form-control" required="required" />
  81.                     </div>
  82.                 <!--Form field starts //-->   
  83.                     <div class="form-group label-floating mhcc-form-group is-empty">
  84.                         <label class="control-label" for="emailContactUs">* {{ "email"|trans|raw }}</label>
  85.                         <input type="email" id="emailContactUs" name="emailContactUs" class="form-control" required="required" />
  86.                     </div>
  87.                 <!--Form field starts //-->    
  88.                     <div class="form-group label-floating mhcc-form-group is-empty">
  89.                         <label for="phoneContactUs" class="control-label">{{ "phone"|trans|raw }}</label>
  90.                         <input type="text" name="phoneContactUs" id="phoneContactUs" value="{{ app.request.get('phoneContactUs') }}" class="form-control" />
  91.                     </div>
  92.                 
  93.                 <!--Form field starts //-->   
  94.                     <div class="form-group label-floating mhcc-form-group is-empty">
  95.                         <label for="subjectContactUs" class="control-label">* {{ "subject"|trans|raw }}</label>
  96.                         <input type="text" name="subjectContactUs" id="subjectContactUs" value="{{ app.request.get('subjectContactUs') }}" class="form-control"  required="required"/>
  97.                     </div>
  98.                 <!--Form field starts //-->   
  99.                     <div class="form-group label-floating mhcc-form-group is-empty">
  100.                         <label for="messageContactUs" class="control-label">* {{ "message"|trans|raw }}</label>
  101.                         <textarea class="form-control psla-form" name="messageContactUs" id="messageContactUs" rows="6" required="required"></textarea>
  102.                     </div>
  103.                 <!--Form fields end //-->
  104.                 
  105.                 <!-- To handle spam messages starts -->
  106.                     <div class="sr-only">
  107.                         <div><span id="checkmeCont"></span></div>
  108.                         <div><span><label for="userid">User ID</label><input type="text" id="userid" name="userid" value="" /><span class="redNote">*</span></span></div>
  109.                         <div><span><label for="password">Password</label><input type="text" id="password" name="password" value="" /><span class="redNote">*</span></span></div>
  110.                         <script type="text/javascript">
  111.                             var newField = document.createElement("input");
  112.                             var newFieldLabel = document.createElement("label");
  113.                             var checkmeCont = document.getElementById("checkmeCont");
  114.                             newField.id = "checkme";
  115.                             newField.name = "checkme";
  116.                             newField.value = "online";
  117.                             checkmeCont.appendChild(newField);
  118.                             newFieldLabel.htmlFor = "checkme";
  119.                             newFieldLabel.innerHTML = "Pass";
  120.                             checkmeCont.appendChild(newFieldLabel);
  121.                         </script>
  122.                     </div>
  123.                 <!-- To handle spam messages starts -->
  124.                 </div>
  125.                 <!--Card inner block ENDS //-->
  126.             </section>
  127.             <!--Form card ENDS //-->
  128.             <!--Submit button starts //-->
  129.                 <div class="mhcc-resources-container-buttons">
  130.                         <input type="submit" name="submitButton" class="btn btn-raised btn-success mhcc-resources-container-button" value="{{ "submit"|trans|raw }}" />
  131.                         <div class="ripple-container"></div>
  132.                 </div> 
  133.             <!--Submit button ENDS //-->      
  134.         </form>
  135.           <!--Form ENDS //-->
  136.     </div>
  137.     <!--// Form container ENDS -->                 
  138. </article>
  139. </main>
  140.      
  141. {% endblock %}
  142. {% block javascript %}
  143.     {{ parent() }}
  144.     
  145.     <script src="{{ asset( 'assets/js/component-snackbar.js' ) }}"></script>
  146.     <script>
  147.         {% if msg == "sent" %}
  148.             Snackbar.show({ showAction: false,
  149.                             pos: 'top-center',
  150.                             text: '<h4>{{ "thank-you-contact-us"|trans|raw }}</h4><b>{{ "comments-contact-us"|trans|raw }}', });
  151.         {% endif %}
  152.     </script> 
  153. {% endblock %}