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

Open in your IDE?
  1.                     <div class="searchBoxContent">
  2.                                     <div class="form-group col-12">
  3.                                      <select id="dmits-inquiry-sales-country-select"
  4.                                      class="custom-select"
  5.                              >
  6.                              <option  selected>{{ 'dmits-inquirysales.countryplaceholder'|trans }}</option>
  7.                            
  8.                   
  9.                         </select></div>
  10.                         <div class="form-group col-12">
  11.                                     <input type="text"
  12.                                         class="form-control" id="dmits-inquiry-sales-search-zipcode"
  13.                                         placeholder="{{ 'dmits-inquirysales.zipplaceholder'|trans }}">
  14.                                         </div>
  15.                                     
  16.                              {%if config('DmitsInquirySales.config.additionalactive1') %}
  17.                               <div class="form-group col-12">        
  18.                               <div class="custom-checkbox">
  19.                                     <input type="checkbox" id="dmits-inquiry-sales-additional1" name="additional1" required/>
  20.                                     <label for="dmits-inquiry-sales-additional1">
  21.                                     
  22.                                        {% set media = searchMedia([config('DmitsInquirySales.config.additionalmedia1')], context.context) %}
  23.                             {% set downloadurl = media.get(config('DmitsInquirySales.config.additionalmedia1')) %}
  24.                                     {%if config('DmitsInquirySales.config.additionalmedia1') %}
  25.                                     
  26.                                    <img title="{{ 'dmits-inquirysales.additional1'|trans }}" 
  27.                                    alt="{{ 'dmits-inquirysales.additional1'|trans }}" 
  28.                                    src="{{(downloadurl.url)}}"> 
  29.                                    {% endif %}
  30.                                     
  31.                                     
  32.                                     <span>{{ 'dmits-inquirysales.additional1'|trans|raw }}</span>    </label>
  33.                                      </div>
  34.                                 </div>    
  35.                                   {% endif %}
  36.                                   
  37.                                   
  38.                                   
  39.                                   
  40.                                   
  41.                                     {%if config('DmitsInquirySales.config.additionalactive2')%} 
  42.                                      <div class="form-group col-12">    
  43.                             <div class="custom-checkbox">
  44.                                     <input type="checkbox" id="dmits-inquiry-sales-additional2" name="additional2" required/>
  45.                                     <label for="dmits-inquiry-sales-additional2">
  46.                                     
  47.                                         {% set media = searchMedia([config('DmitsInquirySales.config.additionalmedia2')], context.context) %}
  48.                             {% set downloadurl = media.get(config('DmitsInquirySales.config.additionalmedia2')) %}
  49.                                     {%if config('DmitsInquirySales.config.additionalmedia2') %}
  50.                                     
  51.                                    <img title="{{ 'dmits-inquirysales.additional2'|trans }}" 
  52.                                    alt="{{ 'dmits-inquirysales.additional2'|trans }}" 
  53.                                    src="{{(downloadurl.url)}}"> 
  54.                                    {% endif %}
  55.                                     
  56.                                   <span>  {{ 'dmits-inquirysales.additional2'|trans|raw }}</span>    </label>
  57.                                 </div>    
  58.                                  </div>
  59.                                 {% endif %}
  60.                                 
  61.                                 
  62.                                 
  63.                                 
  64.                                 
  65.                                 
  66.                                   {%if config('DmitsInquirySales.config.additionalactive3')%} 
  67.                                    <div class="form-group col-12">        
  68.                             <div class="custom-checkbox">
  69.                                     <input type="checkbox" id="dmits-inquiry-sales-additional3" name="additional3" required/>
  70.                                     <label for="dmits-inquiry-sales-additional3">
  71.                                         {% set media = searchMedia([config('DmitsInquirySales.config.additionalmedia3')], context.context) %}
  72.                             {% set downloadurl = media.get(config('DmitsInquirySales.config.additionalmedia3')) %}
  73.                                     {%if config('DmitsInquirySales.config.additionalmedia3') %}
  74.                                     
  75.                                    <img title="{{ 'dmits-inquirysales.additional3'|trans }}" 
  76.                                    alt="{{ 'dmits-inquirysales.additional3'|trans }}" 
  77.                                    src="{{(downloadurl.url)}}"> 
  78.                                    {% endif %}
  79.                                  <span> {{ 'dmits-inquirysales.additional3'|trans|raw }}</span>    </label>
  80.                                 </div>    
  81.                                 
  82.                                  </div>
  83.                                 {% endif %}
  84.                                 
  85.                                 
  86.                                 
  87.                                 
  88.                                 
  89.                              {%if config('DmitsInquirySales.config.additionalactive4')%}   
  90.                               <div class="form-group col-12">
  91.                                         
  92.                             <div class="custom-checkbox">
  93.                                     <input type="checkbox" id="dmits-inquiry-sales-additional4" name="additional4" required/>
  94.                                     <label for="dmits-inquiry-sales-additional4">
  95.                                         {% set media = searchMedia([config('DmitsInquirySales.config.additionalmedia4')], context.context) %}
  96.                             {% set downloadurl = media.get(config('DmitsInquirySales.config.additionalmedia4')) %}
  97.                                     {%if config('DmitsInquirySales.config.additionalmedia4') %}
  98.                                     
  99.                                    <img title="{{ 'dmits-inquirysales.additional4'|trans }}" 
  100.                                    alt="{{ 'dmits-inquirysales.additional4'|trans }}" 
  101.                                    src="{{(downloadurl.url)}}"> 
  102.                                    {% endif %}
  103.                              <span>{{ 'dmits-inquirysales.additional4'|trans|raw }}</span>    </label>
  104.                                 </div>    
  105.                                  </div>    
  106.                                
  107.                                     {% endif %}
  108.                                     
  109.                                     
  110.                                      {%if config('DmitsInquirySales.config.searchButton')%} 
  111.                                      <div class="form-group col-12">
  112.                                     <span class="btn btn-primary" id="dmits-inquiry-sales-searchButton">{{ 'dmits-inquirysales.popup.searchbutton'|trans|raw }}</span>
  113.                                        </div>    
  114.                                      {% endif %}
  115.                                     
  116.                                     
  117.                                       </div>