{# {% set options = row.field_values|split('\n') %}
{% for option in options %}
{% if row.field_required %}
<div class="input-group mt-4 required">
{% endif %}
<div class="radio-block relative">
<input class="radio-input" type="checkbox" id="{{ row.field_name~'_'~option|replace({' & ': '_', '&': '_' ,' ':'_','/':''})|lower}}"
value="{{ option }}"
name="{{ row.field_name }}[]"
/>
<label for="{{ row.field_name~'_'~option|replace({' & ': '_', '&': '_' ,' ':'_' ,'/':''})|lower}}">{{ option }}</label>
</div>
{% if row.field_required %}
</div>
{% endif %}
{% endfor %} #}
{# <input-checkbox v-model="getInTouch.terms"
:error-show="getInTouchErrors.terms"
name="terms"
required
error-text="This field is required">
<p class="text-sm text-blue">
I agree to the <a class="whitespace-nowrap underline"
target="blank"
href="#">Terms and Conditions</a> and <a class="whitespace-nowrap underline"
target="blank"
href="./privacy-policy">Privacy Policy</a>
</p>
</input-checkbox> #}
{% set currentLocale = app.request.locale %}
{% if currentLocale == 'fr' %}
{% set policyUrl = './politique-de-confidentialit' %}
{% endif %}
{% if currentLocale == 'en' %}
{% set policyUrl = './privacy-policy' %}
{% endif %}
<div class="flex flex-col gap-4">
<div class="flex gap-[10px]">
<label class="checkbox-wrapp relative block block">
<span class="block relative w-5 h-5 cursor-pointer">
<input type="checkbox" name="terms" required="required" class="absolute inset-0 opacity-0 peer" value="">
<span class="checkbox-border absolute inset-0 block border rounded-[3px] shadow-transparent duration-200 border-blue peer-focus-visible:border-blue/50"></span>
<span class="checkbox-checked absolute inset-0 flex items-center justify-center opacity-0 duration-200 peer-checked:opacity-100 bg-blue text-white">
<svg class="w-3 h-2 stroke-2">
<use xlink:href="#icon-check"></use>
</svg>
</span>
</span> <!---->
</label>
<p class="text-sm text-blue">{{ "I agree to the Terms and Conditions and" | trans }} <a target="blank" href="{{policyUrl}}" class="whitespace-nowrap underline"> {{ "Privacy Policy" | trans }}</a></p>
</div> <!---->
</div>