templates/content/includes/parts/form-input.html.twig line 1

Open in your IDE?
  1. <form id="inquiry-form" action="/contact-us/submit" method="post">
  2.     <p>Full Name</p>
  3.     <input type="text" name="fullName">
  4.     <p>Email Address</p>
  5.     <input type="email" name="email">
  6.     <p>Phone Number</p>
  7.     <input type="phone" name="phone">
  8.     <p>Company Name</p>
  9.     <input type="text" name="companyName">
  10.     <p>Message</p>
  11.     <textarea cols="30" rows="5" name="message"></textarea>
  12.     <p class="mailing-list-container" style="margin-bottom: 1em;">
  13.     <input type="checkbox" name="addToMailingList"><span style="margin-left: 5px;">Please add to mailing your list</span>
  14.     </p>
  15.     {% if not editmode %}<div class="g-recaptcha" data-sitekey={{ get_env("GOOGLE_SITEKEY") }}></div>{% endif %}
  16.     <button{% if not editmode %} data-callback="onSubmit" data-sitekey={{ get_env("GOOGLE_SITEKEY") }} data-action="submit"{% endif %}{% if editmode %} disabled{% endif %} class="btn {% if pimcore_select("colorOptions") == 'dark' %}dark{% else %}light--ghost{% endif %}{% if not editmode %} form-submit{% endif %}">Submit your inquiry</button>
  17.     <span class="ajax-loader"><img src="/static/img/icons/ajax-loader.gif"></span>
  18. </form>