adaptation page index et page register
This commit is contained in:
parent
8bc99d9492
commit
b67abad361
BIN
public/images/fond_site.png
Normal file
BIN
public/images/fond_site.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 392 KiB |
@ -11,8 +11,12 @@ class IndexController extends AbstractController
|
|||||||
#[Route('/index', name: 'app_index')]
|
#[Route('/index', name: 'app_index')]
|
||||||
public function index(): Response
|
public function index(): Response
|
||||||
{
|
{
|
||||||
return $this->render('index/index.html.twig', [
|
return $this->render('index/index.html.twig', []);
|
||||||
'controller_name' => 'IndexController',
|
}
|
||||||
]);
|
|
||||||
|
#[Route('/test', name: 'app_test')]
|
||||||
|
public function test(): Response
|
||||||
|
{
|
||||||
|
return $this->render('base.html.twig', []);
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,17 +1,47 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="utf-8"/>
|
||||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
<title>{% block title %}Job Portal{% endblock %}</title>
|
||||||
{% block stylesheets %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block javascripts %}
|
{# Tailwind CSS CDN #}
|
||||||
{% block importmap %}{{ importmap('app') }}{% endblock %}
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
{% endblock %}
|
|
||||||
|
{# FontAwesome & Google Fonts #}
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"/>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="bg-gray-100">
|
||||||
{% block body %}{% endblock %}
|
<header class="bg-gray-900 text-white">
|
||||||
|
<div class="container mx-auto flex justify-between items-center py-4 px-6">
|
||||||
|
<div class="flex items-center">
|
||||||
|
<i class="fas fa-briefcase text-2xl mr-2"></i>
|
||||||
|
<span class="text-xl font-bold">HegreSphere</span>
|
||||||
|
</div>
|
||||||
|
<nav class="space-x-6">
|
||||||
|
<a class="hover:text-teal-400" href="{{ path('app_index') }}">Accueil</a>
|
||||||
|
<a class="hover:text-teal-400" href="{{ path('app_index') }}">Stages</a>
|
||||||
|
<a class="hover:text-teal-400" href="{{ path('app_index') }}">À propos de nous</a>
|
||||||
|
<a class="hover:text-teal-400" href="{{ path('app_index') }}">Nous contacter</a>
|
||||||
|
</nav>
|
||||||
|
<div>
|
||||||
|
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full" href="{{ path('app_index') }}">
|
||||||
|
Profil
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
{# Block for the specific page content #}
|
||||||
|
<main>
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,297 +1,76 @@
|
|||||||
<html lang="en">
|
{% extends 'base.html.twig' %}
|
||||||
<head>
|
|
||||||
<meta charset="utf-8"/>
|
|
||||||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
||||||
<title>
|
|
||||||
Job Portal
|
|
||||||
</title>
|
|
||||||
<script src="https://cdn.tailwindcss.com">
|
|
||||||
</script>
|
|
||||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet"/>
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"/>
|
|
||||||
<style>
|
|
||||||
body {
|
|
||||||
font-family: 'Roboto', sans-serif;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body class="bg-gray-100">
|
|
||||||
<header class="bg-gray-900 text-white">
|
|
||||||
<div class="container mx-auto flex justify-between items-center py-4 px-6">
|
|
||||||
<div class="flex items-center">
|
|
||||||
<i class="fas fa-briefcase text-2xl mr-2"></i>
|
|
||||||
<span class="text-xl font-bold">HegreSphere</span>
|
|
||||||
</div>
|
|
||||||
<nav class="space-x-6">
|
|
||||||
<a class="hover:text-teal-400" href="#">Accueil</a>
|
|
||||||
<a class="hover:text-teal-400" href="#">Stages</a>
|
|
||||||
<a class="hover:text-teal-400" href="#">À propos de nous</a>
|
|
||||||
<a class="hover:text-teal-400" href="#">Nous contacter</a>
|
|
||||||
</nav>
|
|
||||||
<div>
|
|
||||||
<a class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded-full" href="#">
|
|
||||||
Profil
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<section class="bg-cover bg-center py-20" style="background-image: url('/images/fond_site.png');">
|
|
||||||
|
|
||||||
|
{% block title %}Accueil - Job Portal{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<section class="bg-cover bg-center py-20" style="background-image: url('{{ asset('images/fond_site.png') }}');">
|
||||||
<div class="container mx-auto text-center text-white">
|
<div class="container mx-auto text-center text-white">
|
||||||
<h1 class="text-4xl md:text-5xl font-bold mb-4">
|
<h1 class="text-4xl md:text-5xl font-bold mb-4">Trouvez votre stage de rêve !</h1>
|
||||||
Trouvez votre stage de rêve !
|
<p class="text-lg mb-8">Connectez les talents aux opportunités : votre clé vers le succès professionnel</p>
|
||||||
</h1>
|
|
||||||
<p class="text-lg mb-8">
|
|
||||||
Connectez les talents aux opportunités : votre clé vers le succès professionnel
|
|
||||||
</p>
|
|
||||||
<div class="bg-white rounded-lg shadow-lg p-6 inline-block">
|
<div class="bg-white rounded-lg shadow-lg p-6 inline-block">
|
||||||
<div class="flex flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-4">
|
<div class="flex flex-col md:flex-row space-y-4 md:space-y-0 md:space-x-4">
|
||||||
|
<label>
|
||||||
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Nom de l'entreprise" type="text"/>
|
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Nom de l'entreprise" type="text"/>
|
||||||
|
</label>
|
||||||
|
<label>
|
||||||
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Indiquez un endroit" type="text"/>
|
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Indiquez un endroit" type="text"/>
|
||||||
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Selectionnez une categorie" type="text"/>
|
</label>
|
||||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-6 rounded">
|
<label>
|
||||||
Trouvez un stage
|
<input class="border border-gray-300 rounded py-2 px-4 w-full md:w-auto" placeholder="Sélectionnez une catégorie" type="text"/>
|
||||||
</button>
|
</label>
|
||||||
|
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-6 rounded">Trouvez un stage</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex justify-center space-x-8 mt-8">
|
<div class="flex justify-center space-x-8 mt-8">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<i class="fas fa-briefcase text-2xl">
|
<i class="fas fa-briefcase text-2xl"></i>
|
||||||
</i>
|
<p class="mt-2">+850 Stages</p>
|
||||||
<p class="mt-2">
|
|
||||||
+850 Stages
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<i class="fas fa-users text-2xl">
|
<i class="fas fa-users text-2xl"></i>
|
||||||
</i>
|
<p class="mt-2">1500 Candidats</p>
|
||||||
<p class="mt-2">
|
|
||||||
1500 Candidats
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<i class="fas fa-building text-2xl">
|
<i class="fas fa-building text-2xl"></i>
|
||||||
</i>
|
<p class="mt-2">+500 Entreprises</p>
|
||||||
<p class="mt-2">
|
|
||||||
+500 Entreprises
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="container mx-auto py-12">
|
<section class="container mx-auto py-12">
|
||||||
<div class="flex justify-between items-center mb-6">
|
<div class="flex justify-between items-center mb-6">
|
||||||
<h2 class="text-2xl font-bold">
|
<h2 class="text-2xl font-bold">Propositions de stages </h2>
|
||||||
Propositions de stages récentes
|
<a class="text-teal-500 hover:underline" href="{{ path('app_announcement_list') }}">Voir tout</a>
|
||||||
</h2>
|
|
||||||
<a class="text-teal-500 hover:underline" href="#">
|
|
||||||
Voir tout
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="space-y-6">
|
<div class="space-y-6">
|
||||||
|
{# Loop over recent offers (replace with dynamic data)
|
||||||
|
{% for offer in recent_offers %}
|
||||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
||||||
<div class="flex items-center space-x-4">
|
<div class="flex items-center space-x-4">
|
||||||
<div class="text-gray-500 text-sm">
|
<div class="text-gray-500 text-sm">{{ offer.time_ago }}</div>
|
||||||
10 min ago
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<h3 class="text-lg font-bold">
|
<h3 class="text-lg font-bold">{{ offer.title }}</h3>
|
||||||
Forward Security Director
|
<p class="text-gray-600">{{ offer.company }}</p>
|
||||||
</h3>
|
|
||||||
<p class="text-gray-600">
|
|
||||||
Bauch, Schuppe and Schulist Co
|
|
||||||
</p>
|
|
||||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
||||||
<span class="flex items-center">
|
<span class="flex items-center">
|
||||||
<i class="fas fa-briefcase mr-1">
|
<i class="fas fa-briefcase mr-1"></i> {{ offer.category }}
|
||||||
</i>
|
|
||||||
Hotels & Tourism
|
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center">
|
<span class="flex items-center">
|
||||||
<i class="fas fa-clock mr-1">
|
<i class="fas fa-clock mr-1"></i> {{ offer.type }}
|
||||||
</i>
|
|
||||||
Full time
|
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center">
|
<span class="flex items-center">
|
||||||
<i class="fas fa-dollar-sign mr-1">
|
<i class="fas fa-dollar-sign mr-1"></i> {{ offer.salary }}
|
||||||
</i>
|
|
||||||
$40000-$42000
|
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center">
|
<span class="flex items-center">
|
||||||
<i class="fas fa-map-marker-alt mr-1">
|
<i class="fas fa-map-marker-alt mr-1"></i> {{ offer.location }}
|
||||||
</i>
|
|
||||||
New York, USA
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">Détails de l'offre</button>
|
||||||
Détails de l'offre
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
|
||||||
<div class="flex items-center space-x-4">
|
|
||||||
<div class="text-gray-500 text-sm">
|
|
||||||
12 min ago
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3 class="text-lg font-bold">
|
|
||||||
Regional Creative Facilitator
|
|
||||||
</h3>
|
|
||||||
<p class="text-gray-600">
|
|
||||||
Wisozk - Becker Co
|
|
||||||
</p>
|
|
||||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-briefcase mr-1">
|
|
||||||
</i>
|
|
||||||
Media
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-clock mr-1">
|
|
||||||
</i>
|
|
||||||
Part time
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-dollar-sign mr-1">
|
|
||||||
</i>
|
|
||||||
$28000-$32000
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-map-marker-alt mr-1">
|
|
||||||
</i>
|
|
||||||
Los Angeles, USA
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
|
||||||
Détails de l'offre
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
|
||||||
<div class="flex items-center space-x-4">
|
|
||||||
<div class="text-gray-500 text-sm">
|
|
||||||
15 min ago
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3 class="text-lg font-bold">
|
|
||||||
Internal Integration Planner
|
|
||||||
</h3>
|
|
||||||
<p class="text-gray-600">
|
|
||||||
Metz, Quigley and Feest Inc.
|
|
||||||
</p>
|
|
||||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-briefcase mr-1">
|
|
||||||
</i>
|
|
||||||
Construction
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-clock mr-1">
|
|
||||||
</i>
|
|
||||||
Full time
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-dollar-sign mr-1">
|
|
||||||
</i>
|
|
||||||
$48000-$50000
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-map-marker-alt mr-1">
|
|
||||||
</i>
|
|
||||||
Texas, USA
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
|
||||||
Détails de l'offre
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
|
||||||
<div class="flex items-center space-x-4">
|
|
||||||
<div class="text-gray-500 text-sm">
|
|
||||||
26 min ago
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3 class="text-lg font-bold">
|
|
||||||
District Intranet Director
|
|
||||||
</h3>
|
|
||||||
<p class="text-gray-600">
|
|
||||||
VonRueden - Weber Co
|
|
||||||
</p>
|
|
||||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-briefcase mr-1">
|
|
||||||
</i>
|
|
||||||
Commerce
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-clock mr-1">
|
|
||||||
</i>
|
|
||||||
Full time
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-dollar-sign mr-1">
|
|
||||||
</i>
|
|
||||||
$42000-$46000
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-map-marker-alt mr-1">
|
|
||||||
</i>
|
|
||||||
Florida, USA
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
|
||||||
Détails de l'offre
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="bg-white p-6 rounded-lg shadow flex justify-between items-center">
|
|
||||||
<div class="flex items-center space-x-4">
|
|
||||||
<div class="text-gray-500 text-sm">
|
|
||||||
26 min ago
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<h3 class="text-lg font-bold">
|
|
||||||
Corporate Tactics Facilitator
|
|
||||||
</h3>
|
|
||||||
<p class="text-gray-600">
|
|
||||||
Cormier, Turner and Bailey Inc
|
|
||||||
</p>
|
|
||||||
<div class="flex items-center space-x-2 text-gray-500 text-sm mt-2">
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-briefcase mr-1">
|
|
||||||
</i>
|
|
||||||
Commerce
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-clock mr-1">
|
|
||||||
</i>
|
|
||||||
Full time
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-dollar-sign mr-1">
|
|
||||||
</i>
|
|
||||||
$38000-$40000
|
|
||||||
</span>
|
|
||||||
<span class="flex items-center">
|
|
||||||
<i class="fas fa-map-marker-alt mr-1">
|
|
||||||
</i>
|
|
||||||
Boston, USA
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<button class="bg-teal-500 hover:bg-teal-600 text-white py-2 px-4 rounded">
|
|
||||||
Détails de l'offre
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}#}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
@ -3,20 +3,53 @@
|
|||||||
{% block title %}Inscription{% endblock %}
|
{% block title %}Inscription{% endblock %}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<h1>Inscription</h1>
|
<div class="bg-gray-100 flex items-center justify-center min-h-screen">
|
||||||
|
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
|
||||||
|
<h2 class="text-2xl font-bold text-center mb-2">Inscription</h2>
|
||||||
|
<p class="text-center text-gray-600 mb-6">
|
||||||
|
Déjà inscrit ? <a href="{{ path('app_login') }}" class="text-teal-600 hover:underline">Connectez-vous ici</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
{{ form_errors(registrationForm) }}
|
{{ form_start(registrationForm, { 'attr': { 'class': 'space-y-4' } }) }}
|
||||||
|
|
||||||
{{ form_start(registrationForm) }}
|
<div class="mb-4">
|
||||||
{{ form_row(registrationForm.nickname) }}
|
{{ form_label(registrationForm.nickname, 'Pseudo', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
|
||||||
{{ form_row(registrationForm.firstname) }}
|
{{ form_widget(registrationForm.nickname, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
|
||||||
{{ form_row(registrationForm.lastname) }}
|
{{ form_errors(registrationForm.nickname) }}
|
||||||
{{ form_row(registrationForm.mail) }}
|
</div>
|
||||||
{{ form_row(registrationForm.plainPassword, {
|
|
||||||
label: 'Password'
|
<div class="mb-4">
|
||||||
}) }}
|
{{ form_label(registrationForm.firstname, 'Prénom', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
|
||||||
{# {{ form_row(registrationForm.agreeTerms) }}#}
|
{{ form_widget(registrationForm.firstname, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
|
||||||
|
{{ form_errors(registrationForm.firstname) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-4">
|
||||||
|
{{ form_label(registrationForm.lastname, 'Nom', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
|
||||||
|
{{ form_widget(registrationForm.lastname, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
|
||||||
|
{{ form_errors(registrationForm.lastname) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-4">
|
||||||
|
{{ form_label(registrationForm.mail, 'Adresse email', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
|
||||||
|
{{ form_widget(registrationForm.mail, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
|
||||||
|
{{ form_errors(registrationForm.mail) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-4">
|
||||||
|
{{ form_label(registrationForm.plainPassword, 'Mot de passe', {'label_attr': {'class': 'block text-gray-700 mb-2'}}) }}
|
||||||
|
{{ form_widget(registrationForm.plainPassword, {'attr': {'class': 'w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-teal-500'}}) }}
|
||||||
|
{{ form_errors(registrationForm.plainPassword) }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="text-center">
|
||||||
|
<button type="submit" class="bg-teal-600 text-white px-6 py-2 rounded-lg w-full hover:bg-teal-700 focus:outline-none focus:ring-2 focus:ring-teal-500">
|
||||||
|
S'inscrire
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button type="submit" class="btn">S'inscrire</button>
|
|
||||||
{{ form_end(registrationForm) }}
|
{{ form_end(registrationForm) }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user