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

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