@extends('back-office.layouts.layout-default') @section('specific_css') @endsection @section('page_content')

Modifier utilisateur

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach

@endif
{{ method_field('PUT') }}
@foreach($fields as $field) @include(sprintf('back-office.components.form.fields.%s', $field['type']), [$field, $data]) @if ($field['type'] == 'password') @include(sprintf('back-office.components.form.fields.password'), $field = [ 'name' => 'password_confirmation', 'type' => 'password', 'label' => 'Retapez mot de passe' ]) @endif @endforeach
@csrf
@endsection @section('specific_js') @endsection