{{--<div class="custom-control custom-checkbox mb-3 mb-md-5">--}}
{{--    <input type="checkbox" class="custom-control-input" id="gdpr" required>--}}
{{--    <label class="custom-control-label font-weight-bold text-dark" for="gdpr">--}}
{{--        Sunt de acord cu Termenii Serviciului și îi accept neconditionat.--}}
{{--    </label>--}}
{{--</div>--}}

@php ($rand = rand())

<div class="form-group fw-600">
    <div class=" mb-2">
        <div class="custom-control custom-checkbox d-flex">
            <input type="checkbox" class="form-check-input flex-none" id="accept_terms{{$rand}}" name="_accept_terms" value="1"
                   required
                   @if (old('_accept_terms'))
                   checked
                    @endif
            >
            <label class="d-inline-block custom-control-label " for="accept_terms{{$rand}}"  style="text-transform: none">
                @lang('I agree with') <a href="{{route('site.page', 'termeni-si-conditii')}}" class="btn-link text-orange"
                                         target="_blank">@lang('Terms of Usage')</a>.
            </label>
        </div>
    </div>

    <div class="">
        <div class="custom-control custom-checkbox d-flex">
            <input type="checkbox" class="form-check-input flex-none"
                   id="accept_gdpr{{$rand}}" name="_accept_gdpr" value="1" required=""
                   @if (old('_accept_gdpr'))
                   checked
                    @endif
            >
            <label class="d-inline-block custom-control-label" for="accept_gdpr{{$rand}}"  style="text-transform: none">
                Sunt de acord cu <a href="{{route('site.page', 'politica-de-confidentialitate')}}" class="btn-link text-orange"
                                         target="_blank">Politica de Prelucrare a Datelor cu Caracter Personal</a>.
            </label>
        </div>
    </div>

</div>


{{--<div class="form-group">--}}
{{--    <div class="form-check">--}}
{{--        <input class="form-check-input" type="checkbox" value="1" id="accept_terms" name="_accept_terms" value="1"--}}
{{--               required=""--}}
{{--               @if (old('_accept_terms'))--}}
{{--               checked--}}
{{--                @endif--}}
{{--        >--}}
{{--        <label class="form-check-label" for="accept_terms">--}}
{{--            @lang('I agree with') <a href="{{route('site.page', 'termeni-si-conditii')}}" class="btn-link"--}}
{{--                                     target="_blank">@lang('Terms of Usage')</a>.--}}
{{--        </label>--}}
{{--    </div>--}}


{{--    <div class="form-check">--}}
{{--        <input class="form-check-input" type="checkbox" id="accept_gdpr" name="_accept_gdpr" value="1" required=""--}}
{{--               @if (old('_accept_gdpr'))--}}
{{--               checked--}}
{{--                @endif--}}
{{--        >--}}
{{--        <label class="form-check-label" for="accept_gdpr">--}}
{{--            @lang('I agree with') <a href="{{route('site.page', 'politica-de-confidentialitate')}}" class="btn-link"--}}
{{--                                     target="_blank">@lang('Privacy policy')</a>.--}}
{{--        </label>--}}
{{--    </div>--}}
{{--</div>--}}
