104 lines
6.2 KiB
PHP
104 lines
6.2 KiB
PHP
@extends('fo.layout')
|
||
|
||
@section('title', __($staticPageModel->seo_title))
|
||
@section('description', __($staticPageModel->seo_description))
|
||
@section('breadcrumb', request()->route()->getName())
|
||
|
||
@section('main-bg-class', 'bg-textured')
|
||
|
||
@section('content')
|
||
<div class="container pb-5">
|
||
<div class="row justify-content-center mb-5">
|
||
<div class="col col-md-8 rounded-2 klub-decorated bg-white p-4 pt-5 text-center">
|
||
<h1 class="fs-1 text-primary text-center">{{ __('Le Klub') }} <span class="text-tertiary">{{ config('app.name') }} !</span></h1>
|
||
<img class="img-fluid flex-shrink-1 mb-3 flex-grow-0"
|
||
src="{{ Vite::asset('resources/assets/images/global/underline-yellow.svg') }}" alt="{{ __('Trait souligné') }}">
|
||
|
||
<div class="px-xl-3">
|
||
<x-fo.contact.need-recaptcha-banner :shouldBeDark="true" />
|
||
</div>
|
||
|
||
<form class="recaptcha-form" data-recaptcha-key="{{ config('services.google.recaptcha.public') }}" inert
|
||
enctype="multipart/form-data" method="POST" action="{{ route('fo.register') }}">
|
||
@csrf
|
||
|
||
<fieldset class="container-fluid p-md-5 pt-md-1">
|
||
<legend class="d-block text-primary fs-5">{{ __('Inscrivez vous au Klub Tre Galette') }}</legend>
|
||
|
||
@include('fo.pages.klub.customer-form')
|
||
|
||
<div class="row justify-content-center">
|
||
<div class="col col-md-8 text-primary lh-sm px-0 py-2">
|
||
<div class="form-check text-start">
|
||
<input class="form-check-input @if ($errors->has('opt_in')) is-invalid @endif me-1" id="check-optin"
|
||
name="opt_in" type="checkbox" @checked(old('opt_in'))>
|
||
<label class="form-check-label w-fit" for="check-optin" role="button">
|
||
{{ __('Je souhaite m\'inscrire à la newsletter') }} {{ Config::get('theme.site_name') }}
|
||
</label>
|
||
</div>
|
||
@foreach ($errors->get('opt_in') as $message)
|
||
<div class="invalid-feedback d-block">{{ $message }}</div>
|
||
@endforeach
|
||
</div>
|
||
</div>
|
||
<div class="row justify-content-center mb-3">
|
||
<div class="col col-md-8 text-primary lh-sm px-0 py-2">
|
||
<div class="form-check">
|
||
<input class="form-check-input @if ($errors->has('ok_cgv')) is-invalid @endif me-1" id="check-cgv"
|
||
name="ok_cgv" type="checkbox" required />
|
||
<label class="form-check-label w-fit" for="check-cgv" role="button">
|
||
{{ __('J\'accepte les conditions générales d’utilisation du site et autorise le Responsable de Traitement à traiter mes données personnelles conformément à la') }}
|
||
<a class="text-primary" href="{{ route('fo.policies.show') }}" target="_blank">
|
||
{{ __('Charte de confidentialité') }}
|
||
</a>.
|
||
</label>
|
||
</div>
|
||
@foreach ($errors->get('ok_cgv') as $message)
|
||
<div class="invalid-feedback d-block">{{ $message }}</div>
|
||
@endforeach
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row justify-content-center mb-3">
|
||
<div class="col col-md-8 text-primary lh-sm px-0 py-2 text-center">
|
||
<div class="text-secondary py-2 text-center">* {{ __('champs obligatoires') }}</div>
|
||
</div>
|
||
</div>
|
||
|
||
{{-- RECAPTCHA --}}
|
||
<div class="col-12 text-center">
|
||
<div class="d-flex flex-column justify-content-center align-items-center my-3">
|
||
<div class="r_captcha"></div>
|
||
@if ($errors->has('g-recaptcha-response'))
|
||
<div class="mb-6">
|
||
<span class="text-danger">{{ $errors->first('g-recaptcha-response') }}</span>
|
||
</div>
|
||
@endif
|
||
</div>
|
||
</div>
|
||
|
||
<div class="row justify-content-center mb-3">
|
||
<div class="col col-md-10 col-lg-8 mb-2 py-2 text-end">
|
||
<button class="btn btn-primary text-tertiary btn-lg rounded-0 px-5 py-2" type="submit">
|
||
{{ __('S\'inscrire') }}
|
||
</button>
|
||
</div>
|
||
<div class="col col-md-10 col-lg-8 text-end">
|
||
<a href="{{ route('fo.login') }}"
|
||
title="{{ __('Aller sur la page de connexion') }}">{{ __('J\'ai déjà un compte') }}</a>
|
||
</div>
|
||
</div>
|
||
</fieldset>
|
||
</form>
|
||
|
||
<div class="col col-md-8 offset-md-2 text-primary lh-sm px-0 py-2">
|
||
<p>
|
||
{{ __('Les informations recueillies à partir de ce formulaire sont traitées par le Responsable de Traitement pour la création de votre compte utilisateur. Pour connaître vos droits, vous pouvez consulter la') }}
|
||
<a href="{{ route('fo.policies.show') }}"
|
||
title="{{ __('Accéder à la Charte de confidentialité') }}">{{ __('Charte de confidentialité') }}</a>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
@endsection
|