<div class="form-group form-group-flex delivery-select">
   <label>DPD Pickup</label>
   <div class="widget-wrapper" id="data-DPDPickup-wrapper"
        data-delivery-id-wrapper="{$object.id}"
        data-delivery-lang-wrapper="{$ctrl.active_language|default:'en'}"
        data-delivery-country-wrapper="{$ctrl.active_country|default:'CZ'}"
        data-delivery-supported-countries-wrapper="{json_encode(array_values($object->getSupportedCountries()))}">
      <p id="Pickup-name">{$info.firm}</p>
      <button type="button" class="btn btn-sm" data-delivery-id="{$object.id}">{t}Změnit Pickup{/t}</button>
      <input type="hidden" name="data[delivery_data][DPDPickup_data]" value="{$info|json_encode}" data-delivery-DPDPickup>
   </div>
</div>

<script src="/common/static/wpj/delivery/wpj.DPDPickup.widget.js?v1"></script>
<script>
   dpdPickupWidget($("#data-DPDPickup-wrapper"));
</script>
