custom/plugins/DmitsInquirySales/src/Resources/views/storefront/dmits/inquiryform.html.twig line 1

Open in your IDE?
  1. <div id="dmits-inquiry-sales-form">
  2.     <div class="dmits-inquiry-sales-form-error alert alert-danger">
  3.         <div class="alert-content-container">
  4.             {{ 'dmits-inquirysales.fail.alert'|trans }}
  5.         </div>
  6.     </div>
  7.     <span>{{ 'dmits-inquirysales.popup.formheadertext'|trans|raw }}</span>
  8.     <form class="dmits-inquiry-sales-form-validation" novalidate>
  9.         {{ sw_csrf('frontend.action.dmits.send-request') }}
  10.         <div class="form-group">
  11.             <label class="form-label" for="dmits-inquiry-sales-product">{{ 'dmits-inquirysales.popup.product'|trans }}</label>
  12.             <input disabled type="text" value="" class="form-control"
  13.                 name="dmits-inquiry-sales-product"
  14.                 id="dmits-inquiry-sales-product">
  15.         </div>
  16.         <div class="form-group">
  17.             <label class="form-label" for="dmits-inquiry-sales-firstname">{{ 'dmits-inquirysales.popup.firstname'|trans }}</label>
  18.             <input type="text" value="" class="form-control"
  19.                 name="dmits-inquiry-sales-firstname"
  20.                 id="dmits-inquiry-sales-firstname" required="required">
  21.         </div>
  22.         <div class="form-group">
  23.             <label class="form-label" for="dmits-inquiry-sales-lastname">{{ 'dmits-inquirysales.popup.lastname'|trans }}</label>
  24.             <input type="text" value="" class="form-control"
  25.                 name="dmits-inquiry-sales-lastname"
  26.                 id="dmits-inquiry-sales-lastname" required="required">
  27.         </div>
  28.         <div class="form-group">
  29.             <label class="form-label" for="dmits-inquiry-sales-mail">{{ 'dmits-inquirysales.popup.mail'|trans }}</label>
  30.             <input type="mail" value="" class="form-control"
  31.                 name="dmits-inquiry-sales-mail" id="dmits-inquiry-sales-mail"
  32.                 required="required">
  33.         </div>
  34.         <div class="form-group" style="display:none">
  35.             <label class="form-label" for="dmits-inquiry-sales-zip">{{ 'dmits-inquirysales.popup.zip'|trans }}</label>
  36.             <input type="text" value="" class="form-control"
  37.                 name="dmits-inquiry-sales-zip" id="dmits-inquiry-sales-zip"
  38.             >
  39.         </div>
  40.         <div class="form-group">
  41.             <label class="form-label" for="dmits-inquiry-sales-phonenumber">{{ 'dmits-inquirysales.popup.phonenumber'|trans }}</label>
  42.             <input type="text" value="" class="form-control"
  43.                 name="dmits-inquiry-sales-phonenumber" id="dmits-inquiry-sales-phonenumber"
  44.                 required="required">
  45.         </div>
  46.                 <div class="form-group">
  47.             <label class="form-label" for="dmits-inquiry-sales-company">{{ 'dmits-inquirysales.popup.company'|trans }}</label>
  48.             <input type="text" value="" class="form-control"
  49.                 name="dmits-inquiry-sales-company" id="dmits-inquiry-sales-company"
  50.                 >
  51.         </div>
  52.         
  53.         
  54.         
  55.         <div class="form-group">
  56.             <label class="form-label" for="dmits-inquiry-sales-comment">{{ 'dmits-inquirysales.popup.comment'|trans }}</label>
  57.             <textarea class="form-control" id="dmits-inquiry-sales-comment"
  58.                 name="dmits-inquiry-sales-comment"></textarea>
  59.         </div>
  60.         <div class="form-group">
  61.             <input type="checkbox" id="dmits-inquiry-sales-box"
  62.                 required="required"> <label
  63.                 for="dmits-inquiry-sales-box">
  64.                 {{ 'dmits-inquirysales.popup.agreebox'|trans }}
  65.                 </label>
  66.         </div>
  67.     {% if config('DmitsInquirySales.config.shopwarecaptchaactive') %}
  68.         {% sw_include '@Storefront/storefront/component/captcha/base.html.twig' %}
  69.     {% endif %}
  70.     <input type="hidden" name="dmits-inquiry-sales-rca" id="dmits-inquiry-sales-rca"
  71.            value="{% if config('DmitsInquirySales.config.googlerecaptchaactive') %}1{% else %}0{% endif %}">
  72.     {% if config('DmitsInquirySales.config.googlerecaptchaactive') == true %}
  73.         <input type="hidden" name="dmits-inquiry-sales-deftoken" id="dmits-inquiry-sales-deftoken"
  74.                value="{{ config('DmitsInquirySales.config.googlerecaptchatoken') }}">
  75.         <input type="hidden" name="dmits-inquiry-sales-token" id="dmits-inquiry-sales-token" value="">
  76.     {% endif %}
  77.         <input type="submit" class="col-12 btn btn-primary"
  78.             value="Senden" id="dmits-inquiry-sales-form-submit">
  79.     </form>
  80. </div>