ldc-jeusselin/resources/views/fo/pro/customer/edit.blade.php
Jérémy Munsch de4dcfb283
Closes #2 and #4
- Add status checker + admin secure packages + upgrade enum + add sentry + upgrade to sitemap generator + bump to CRMV2
- Set customer role enum and user role enum
- Update customer migration to set roles
- phpcbf
- faker local to fr
- update lang
- composer update
- bump laravel ui
- Redo all user crud
- npm bump
- Create admin command
- rearrange views
- redo all auth system
- redo customer pro bo
2023-08-21 15:43:33 +02:00

44 lines
1.5 KiB
PHP

@extends('layouts.app')
@section('title', 'Modifier mes infos sur l\'espace Agri Jeusselin')
@section('content')
<div class="main-container main flex signup">
<div class="header-bloc"></div>
<section class="pro--links container flex">
<a href="{{ route('fo.pro.dashboard') }}">Agrispectives</a>
<a href="{{ route('fo.pro.customers.password', $customer) }}">Modifier mon mot de passe</a>
</section>
<section class="connect--main flex">
@if ($message = Session::get('success'))
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>{!! nl2br(e($message)) !!}</strong>
</div>
<div class="header-bloc"></div>
@endif
@if ($message = Session::get('faillure'))
<div class="header-bloc"></div>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<strong>{!! nl2br(e($message)) !!}</strong>
</div>
<div class="header-bloc"></div>
@endif
<h1 class="post-title">Modifier mes infos</h1>
<form method="POST" action="{{ route('fo.pro.customers.update', $customer) }}" class="flex">
@csrf
@method('PUT')
@include('fo.pro.customer.form', [
'customer' => $customer
])
<div class="validate">
<input type="submit" value="{{ __('Save') }}" class="first-btn">
</div>
</form>
</section>
</div>
@endsection