{% extends 'base.html.twig' %}
{% block title %}{{ setting.siteName }} : candidature sponbtanée{% endblock %}
{% block body %}
<section class="container pt-5">
<div class="row">
<div class="col">
{# Breadcrumbs #}
<div class="row">
<div class="col small">
<nav style="--bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%236c757d'/%3E%3C/svg%3E");"
aria-label="breadcrumb">
<ol class="breadcrumb small">
<li class="breadcrumb-item"><a href="{{ path('app_home') }}" class="text-decoration-none text-dark">Accueil</a></li>
<li class="breadcrumb-item" aria-current="page"><a href="{{ path('app_offres') }}" class="text-decoration-none text-dark">Nos Offres d'Emploi</a></li>
{# <li class="breadcrumb-item active" aria-current="page">{{ offre.title }}</li> #}
</ol>
</nav>
</div>
</div>
</div>
</div>
</section>
<div class="container mt-4">
<div class="row">
<div class="col">
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M8.025 22L6.25 20.225L14.475 12L6.25 3.775L8.025 2l10 10Z"/></svg>
Postuler : <span class="fw-bold color2">Candidature spontanée
</h2>
{# <div class="small">{{ offre.content|replace({'<div>': '', '</div>': '',})|raw }}</div> #}
</div>
</div>
<div class="row mt-4 mb-5">
<div class="col">
{% for message in app.flashes('success') %}
<div id="message-success">
<div class="alert alert-success alert-dismissible fade show role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
{% endfor %}
{{ form_start(form) }}
<div class="bg-danger">
{{ form_errors(form) }}
</div>
<div class="row">
<div class="col-lg-6 col-sm-12">
{{ form_row(form.prenom) }}
</div>
<div class="col-lg-6 col-sm-12">
{{ form_row(form.nom) }}
</div>
</div>
<div class="row mt-3">
<div class="col-lg-12 col-sm-12">
{{ form_row(form.email) }}
</div>
</div>
<div class="row mt-3">
<div class="col-lg-12 col-sm-12">
{{ form_row(form.message) }}
</div>
</div>
<div class="row mt-3">
<div class="col-lg-6 col-sm-12">
{{ form_row(form.cv) }}
</div>
<div class="col-lg-6 col-sm-12">
{{ form_row(form.autredoc) }}
</div>
</div>
{# <div class="row">
<div class="col">
Merci de recopier le code antispam :
<span class="ms-2">{{ form_row(form.captcha) }}</span>
</div>
</div> #}
<div class="row mt-3">
<div class="col">
<p style="font-size: 0.7rem;">*Champs obligatoires</p>
</div>
</div>
<div class="mb-3 text-center">
<button type="submit" class="button-contact text-uppercase">Envoyer<br>ma candidature</button>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
{% endblock %}