templates/ecom/contact.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block body %}
  3.   <div class="container-fluid main-holder px-5  border-bottom">
  4.     <div class="row">
  5.       <div class="col-lg-12 pb-2">
  6.         <ul class="list-unstyled list-inline">
  7.           <li class="list-inline-item me-4"><a href="#0">Brand Collab</a></li>
  8.           <li class="list-inline-item"><a href="#0">Designer Collab</a></li>
  9.         </ul>
  10.       </div>
  11.     </div>
  12.   </div>
  13.     <div class="container-fluid">     
  14.       <div class="row mb-5">
  15.       <div class="col-lg-7 offset-lg-2 mb-5 mt-5">
  16.         <h1 class="fw-bolder">Contact</h1>
  17.           </div>
  18.           <div class="clearfix"></div>
  19.           <div class="col-lg-7 offset-lg-2">
  20.         <p>No question is too small or too big. For any inquiries, please feel free to contact us via email at <a href="mailto:{{ ecomvariables.textcontent('customer_contact_email', 'customerservice@noblenative.com')|raw }}" class="fw-bold">{{ ecomvariables.textcontent('customer_contact_email')|raw()    }}</a>, or you can reach us by phone at the following numbers:</p>
  21.               <p>Phone: <strong>{{ ecomvariables.textcontent('site_contact_number')|raw()    }}</strong></p>
  22.               <p>Customer Service (order-related): <strong>{{ ecomvariables.textcontent('customer_contact_number')|raw()    }}</strong></p>
  23.               <p>Alternatively, you can also use the form below to get in touch with us. We're here to assist you and provide the support you need.</p>
  24.               <form class="mt-5" method="POST" action="{{ path('sajong_ecom_save_contact') }}"  id="contact-us-form">          
  25.                   <div class="form-floating mb-3 position-relative">
  26.             <input type="text" class="form-control rounded-pill shadow-none border mb-4 px-4" placeholder="Your Name" name="name" id="name" required>
  27.             <label for="name" class="px-4">Your Name</label>
  28.           </div>
  29.           <div class="form-floating mb-3 position-relative">
  30.             <input type="email" class="form-control rounded-pill shadow-none border mb-4 px-4" placeholder="name@example.com" name="email" id="email" required>
  31.             <label for="email" class="px-4">Email address</label>
  32.           </div>
  33.           <div class="form-floating position-relative">
  34.             <input type="text" class="form-control rounded-pill shadow-none border mb-4 px-4" placeholder="Phone Number" name="phone" id="phone" required>
  35.             <label for="phone" class="px-4">Phone Number</label>
  36.           </div>
  37.           <div class="form-floating position-relative">
  38.             <input type="text" class="form-control rounded-pill shadow-none border mb-4 px-4" placeholder="Subject" name="subject" id="subject" required>
  39.             <label for="subject" class="px-4">Subject</label>
  40.           </div>
  41.           <div class="form-floating position-relative">
  42.             <textarea class="form-control rounded-pill shadow-none border mb-4 px-4" placeholder="Leave a comment here" style="height: 100px" name="description" id="description"></textarea>
  43.             <label for="description" class="px-4">Comments</label>
  44.           </div>
  45.           <input type="hidden" name="form_token" value="{{ csrf_token('contact_form') }}" />
  46.           <button class="btn bg-secondary text-white px-4 py-3 w-100 rounded-pill mb-4">Send</button>
  47.           {% if app.session.flashBag.has('success') %}
  48.             <div class="mt-4 p-4 bg-light rounded-5 border-top border-5 border-secondary">
  49.               <h6 class="fw-bold">Thank you for reaching out!</h6>
  50.               {% for msg in app.session.flashBag.get('success') %}
  51.               <p>{{ msg }}</p>
  52.               {% endfor %} 
  53.             </div>
  54.           {% endif %}
  55.         </form>
  56.       </div>
  57.       </div>
  58.     </div>
  59. {% endblock %}